SoShapeGetDecimatedComplexity Method |
This can be used by dynamic shape subclasses that use the complexity element, to compute how the decimation element affects the complexity of the shape.
Namespace: OIV.Inventor.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax [EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public static float GetDecimatedComplexity(
SoState state,
float complexity
)
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Shared Function GetDecimatedComplexity (
state As SoState,
complexity As Single
) As Single
public:
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
static float GetDecimatedComplexity(
SoState^ state,
float complexity
)
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
static member GetDecimatedComplexity :
state : SoState *
complexity : float32 -> float32
Parameters
- state
- Type: OIV.Inventor.MiscSoState
- complexity
- Type: SystemSingle
Return Value
Type:
SingleRemarks The shape passes in the complexity it would have used and this function returns the new complexity to use based on decimation element.
See Also