Node.Transform

Node.Transform property

Gets the local transform.

public Transform Transform { get; }

Property Value

The transform.

Examples

The following code shows how to change the transform of the node:

Scene scene = new Scene();
var boxNode = scene.RootNode.CreateChildNode(new Box());
//place the box at (10, 0, 0)
boxNode.Transform.Translation = new Vector3(10, 0, 0);

See Also