docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NodeExtension

    Extension methods for NodeBase

    Inheritance
    object
    NodeExtension
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    In This Article
    Back to top
    Copyright © 2024 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)