Click or drag to resize
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.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public static SbVec3f GetScaleFactor(
	SoState state
)

Parameters

state
Type: OIV.Inventor.MiscSoState

Return Value

Type: SbVec3f
Remarks