docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddCameraToNode

    AddCameraToNode(int, int)

    Assigns a camera to a previously added node

    Declaration
    public void AddCameraToNode(int nodeId, int cameraId)
    Parameters
    Type Name Description
    int nodeId

    Index of the node to add the mesh to

    int cameraId

    glTF camera ID to be assigned

    Implements
    IGltfWritable.AddCameraToNode(int, int)
    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)