SoModelScaleElementGetScaleFactor Method (SoState) |
Returns current model scale - if the overall SoModelMatrix is diagonazible Not all the SoModelMatrix are diagonalizable because a OIV.Inventor.Nodes.SoMatrixTransform or a direct set of the SoModelMatrix with a not diagonalizable matrix, so the getScaleFactor can return a vector containing one or more NaN or zeros.
Namespace: OIV.Inventor.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public static SbVec3f GetScaleFactor(
SoState state
)
Public Shared Function GetScaleFactor (
state As SoState
) As SbVec3f
public:
static SbVec3f GetScaleFactor(
SoState^ state
)
static member GetScaleFactor :
state : SoState -> SbVec3f
Parameters
- state
- Type: OIV.Inventor.MiscSoState
Return Value
Type:
SbVec3fRemarks See Also