Class NodeBase
An object defining the hierarchy relations and the local transform of its content.
Inherited Members
Namespace: GLTFast.Schema
Assembly: solution.dll
Syntax
[Serializable]
public abstract class NodeBase : NamedObject
Fields
| Name | Description |
|---|---|
| camera | Camera index |
| children | The indices of this node's children. |
| matrix | A floating-point 4x4 transformation matrix stored in column-major order. |
| mesh | The index of the mesh in this node. |
| rotation | The node's unit quaternion rotation in the order (x, y, z, w), where w is the scalar. |
| scale | The node's non-uniform scale. |
| skin | The index of the skin (in Skins referenced by this node. |
| translation | The node's translation. |
Properties
| Name | Description |
|---|---|
| Extensions | Node extensions |
Methods
| Name | Description |
|---|---|
| JsonUtilityCleanup() | Cleans up invalid parsing artifacts created by GltfJsonUtilityParser. If you inherit a custom Node class (for use with GltfImport.LoadWithCustomSchema<T>(string,ImportSettings,System.Threading.CancellationToken) ) you can override this method to perform sanity checks on the deserialized, custom properties. |