SoCameraInteractorProjectToScreen Method |
Map a 3D point in world coordinates to a 2D point in normalized screen coordinates (0 <= x,y <= 1), see also SbViewVolume.projectToScreen.
Namespace: OIV.Inventor.ViewerComponentsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public SbVec2f ProjectToScreen(
SbVec3f point,
SbViewportRegion vpRegion
)
Public Function ProjectToScreen (
point As SbVec3f,
vpRegion As SbViewportRegion
) As SbVec2f
public:
SbVec2f ProjectToScreen(
SbVec3f point,
SbViewportRegion vpRegion
)
member ProjectToScreen :
point : SbVec3f *
vpRegion : SbViewportRegion -> SbVec2f
Parameters
- point
- Type: OIV.InventorSbVec3f
point to project in world coordinates
- vpRegion
- Type: OIV.InventorSbViewportRegion
the actual viewport region
Return Value
Type:
SbVec2f2D point in normalized screen coordinates (0 <= x,y <= 1)
Remarks See Also