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