Class NodeExtension
Extension methods for Node
Inherited Members
Namespace: GLTFast
Syntax
public static class NodeExtension
Methods
GetTransform(Node, out Vector3, out Quaternion, out Vector3)
Get translation, rotation and scale of a node, regardless of source properties
Declaration
public static void GetTransform(this Node node, out Vector3 position, out Quaternion rotation, out Vector3 scale)
Parameters
Type | Name | Description |
---|---|---|
Node | node | Input node |
Vector3 | position | Node's translation |
Quaternion | rotation | Node's rotation |
Vector3 | scale | Node's scale |