SoScreenDrawerNormalizePoint Method |
Returns position normalized in range -1..1 relative to specified viewport.
Namespace: OIV.Inventor.DrawersAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax [EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public SbVec2f NormalizePoint(
SbVec2f point,
SbViewportRegion viewport
)
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Function NormalizePoint (
point As SbVec2f,
viewport As SbViewportRegion
) As SbVec2f
public:
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
SbVec2f NormalizePoint(
SbVec2f point,
SbViewportRegion viewport
)
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
member NormalizePoint :
point : SbVec2f *
viewport : SbViewportRegion -> SbVec2f
Parameters
- point
- Type: OIV.InventorSbVec2f
- viewport
- Type: OIV.InventorSbViewportRegion
Return Value
Type:
SbVec2fRemarks See Also