SceneBuilder.ApplyBasisTransform

SceneBuilder.ApplyBasisTransform method

Applies a tranform the this SceneBuilder.

public void ApplyBasisTransform(Matrix4x4 basisTransform, string basisNodeName = "BasisTransform")
ParameterTypeDescription
basisTransformMatrix4x4The transform to apply.
basisNodeNameStringThe name of the dummy root node.

Remarks

In some circunstances, it’s not possible to apply the basisTransform to the nodes in the scene. In these cases a dummy node is created, and these nodes are made children of this dummy node.

This method is useful to switch axes (Z-UP or Y-UP) and left right handed mode.

This method should be called at the end, when the scene has been created completely.

See Also