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: 2023.2.3.Release.c1a14b01e6296bf517288683d75c01bbe269b3dc
Syntaxpublic 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