SbViewportRegionNormalize Method |
Compute the normalized coordinates of the specified position, relative to
this viewport region.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public SbVec2f Normalize(
SbVec2s position
)
Public Function Normalize (
position As SbVec2s
) As SbVec2f
public:
SbVec2f Normalize(
SbVec2s position
)
member Normalize :
position : SbVec2s -> SbVec2f
Parameters
- position
- Type: OIV.InventorSbVec2s
position in pixel coordinates
Return Value
Type:
SbVec2fposition in normalized coordinates (0 <= x,y <= 1).
See Also