docs.unity3d.com
    Show / Hide Table of Contents

    Class NodeExtension

    Extension methods for Node

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

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023