SoCameraInteractorProjectToPlane Method |
Project specified 2D point on the plane parallel to the near plane that is at distFromEye units from the eye, see also SbViewVolume.getPlanePoint.
Namespace: OIV.Inventor.ViewerComponentsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public SbVec3f ProjectToPlane(
SbVec2f point,
float distFromEye,
SbViewportRegion vpRegion
)
Public Function ProjectToPlane (
point As SbVec2f,
distFromEye As Single,
vpRegion As SbViewportRegion
) As SbVec3f
public:
SbVec3f ProjectToPlane(
SbVec2f point,
float distFromEye,
SbViewportRegion vpRegion
)
member ProjectToPlane :
point : SbVec2f *
distFromEye : float32 *
vpRegion : SbViewportRegion -> SbVec3f
Parameters
- point
- Type: OIV.InventorSbVec2f
point to project in normalized screen coordinates (0 <= x,y <= 1)
- distFromEye
- Type: SystemSingle
the distance at which the point would be back projected
- vpRegion
- Type: OIV.InventorSbViewportRegion
the actual viewport region
Return Value
Type:
SbVec3fprojected point in world coordinates
Remarks See Also