docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Node

    An object defining the hierarchy relations and the local transform of its content.

    Inheritance
    object
    NamedObject
    Node
    Inherited Members
    NamedObject.Name
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Gltfast.Objects
    Assembly: Unity.Cloud.Gltfast.dll
    Syntax
    [MovedFrom(true, "GLTFast.Schema", "glTFast", null)]
    public class Node : NamedObject

    Properties

    AdditionalProperties

    Additional properties on glTF JSON objects. Those properties may have been added by a new, unsupported version of the glTF specification. For extending glTF, please use extensions or extras instead.

    Declaration
    [JsonIgnore]
    public ReadOnlyProperties AdditionalProperties { get; }
    Property Value
    Type Description
    ReadOnlyProperties

    Camera

    Camera index

    Declaration
    [JsonPropertyName("camera")]
    public int? Camera { get; set; }
    Property Value
    Type Description
    int?

    Children

    The indices of this node's children.

    Declaration
    [JsonPropertyName("children")]
    public List<uint> Children { get; set; }
    Property Value
    Type Description
    List<uint>

    Extensions

    Node extensions

    Declaration
    [JsonPropertyName("extensions")]
    public NodeExtensions Extensions { get; set; }
    Property Value
    Type Description
    NodeExtensions

    Extras

    Application-specific data.

    Declaration
    [JsonPropertyName("extras")]
    [JsonConverter(typeof(ExtrasConverter))]
    public ExtrasContainer Extras { get; set; }
    Property Value
    Type Description
    ExtrasContainer
    See Also
    https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-extras

    Matrix

    A floating-point 4x4 transformation matrix stored in column-major order.

    Declaration
    [JsonPropertyName("matrix")]
    [JsonConverter(typeof(Double4x4Converter))]
    public double4x4? Matrix { get; set; }
    Property Value
    Type Description
    double4x4?

    Mesh

    The index of the mesh in this node.

    Declaration
    [JsonPropertyName("mesh")]
    public int? Mesh { get; set; }
    Property Value
    Type Description
    int?

    Rotation

    The node's unit quaternion rotation in the order (x, y, z, w), where w is the scalar.

    Declaration
    [JsonPropertyName("rotation")]
    [JsonConverter(typeof(Double4Converter))]
    public double4? Rotation { get; set; }
    Property Value
    Type Description
    double4?

    Scale

    The node's non-uniform scale.

    Declaration
    [JsonPropertyName("scale")]
    [JsonConverter(typeof(Double3Converter))]
    public double3? Scale { get; set; }
    Property Value
    Type Description
    double3?

    Skin

    The index of the skin (in Skins) referenced by this node.

    Declaration
    [JsonPropertyName("skin")]
    public int? Skin { get; set; }
    Property Value
    Type Description
    int?

    Translation

    The node's translation.

    Declaration
    [JsonPropertyName("translation")]
    [JsonConverter(typeof(Double3Converter))]
    public double3? Translation { get; set; }
    Property Value
    Type Description
    double3?

    Weights

    The weights of the instantiated Morph Target. Number of elements must match number of Morph Targets of used mesh.

    Declaration
    [JsonPropertyName("weights")]
    [JsonConverter(typeof(FloatListConverter))]
    public List<float> Weights { get; set; }
    Property Value
    Type Description
    List<float>

    Extension Methods

    NodeExtension.GetTransform(Node, out double3, out double4, out double3)
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)