Click or drag to resize
SoShapeGetScreenSize Method

This can be used by subclasses when the complexity type is SCREEN_SPACE to determine how many window pixels are covered by the shape.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public static void GetScreenSize(
	SoState state,
	SbBox3f boundingBox,
	out SbVec2s rectSize
)

Parameters

state
Type: OIV.Inventor.MiscSoState
boundingBox
Type: OIV.InventorSbBox3f
rectSize
Type: OIV.InventorSbVec2s
Remarks

It returns in rectSize the number of pixels in the window rectangle that covers the given 3D bounding box.

See Also