Method FromMatrix
FromMatrix(float4x4)
Returns the Transform equivalent of a float4x4 matrix.
Declaration
public static LocalTransform FromMatrix(float4x4 matrix)
Parameters
Type | Name | Description |
---|---|---|
float4x4 | matrix | The orthogonal matrix to convert. |
Returns
Type | Description |
---|---|
LocalTransform | The Transform. |
Remarks
If the input matrix contains non-uniform scale, the largest value will be used. Any shear in the input matrix will be ignored.
See Also
FromMatrixSafe(float4x4)