{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method CreateNode | Unity glTFast | 6.0.1
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateNode

    CreateNode(uint, uint?, Vector3, Quaternion, Vector3)

    Called for every Node in the glTF file

    Declaration
    public void CreateNode(uint nodeIndex, uint? parentIndex, Vector3 position, Quaternion rotation, Vector3 scale)
    Parameters
    Type Name Description
    uint nodeIndex

    Index of node. Serves as identifier.

    uint? parentIndex

    Index of the parent's node. If it's null, the node's a root-level node

    Vector3 position

    Node's local position in hierarchy

    Quaternion rotation

    Node's local rotation in hierarchy

    Vector3 scale

    Node's local scale in hierarchy

    Implements
    IInstantiator.CreateNode(uint, uint?, Vector3, Quaternion, Vector3)
    In This Article
    Back to top
    Copyright © 2023 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)