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.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax [EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public static void GetScreenSize(
SoState state,
SbBox3f boundingBox,
out SbVec2s rectSize
)
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Shared Sub GetScreenSize (
state As SoState,
boundingBox As SbBox3f,
<OutAttribute> ByRef rectSize As SbVec2s
)
public:
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
static void GetScreenSize(
SoState^ state,
SbBox3f boundingBox,
[OutAttribute] SbVec2s% rectSize
)
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
static member GetScreenSize :
state : SoState *
boundingBox : SbBox3f *
rectSize : SbVec2s byref -> unit
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