Click or drag to resize
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.ViewerComponents
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public SbVec2f ProjectToScreen(
	SbVec3f point,
	SbViewportRegion vpRegion
)

Parameters

point
Type: OIV.InventorSbVec3f

point to project in world coordinates

vpRegion
Type: OIV.InventorSbViewportRegion

the actual viewport region

Return Value

Type: SbVec2f

2D point in normalized screen coordinates (0 <= x,y <= 1)

Remarks

See Also