Click or drag to resize
SbViewVolumeGetWorldToScreenScale Method (SbVec3f, Single)
Returns a scale factor that would scale a unit sphere centered at worldCenter.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.1.1.Release.7989217834dd2b99155f267b6c8c70f9feacdedd
Syntax
public float GetWorldToScreenScale(
	ref SbVec3f worldCenter,
	float radius
)

Parameters

worldCenter
Type: OIV.InventorSbVec3f
Center in world coordinates.
radius
Type: SystemSingle
Radius in normalized screen coordinates.

Return Value

Type: Single
Scale factor.
Remarks
The sphere would appear to have the given radius in normalized screen coordinates when projected onto the near plane.
See Also