Class UsdLayerStack | USD | 1.0.3-preview.2
docs.unity3d.com
    Show / Hide Table of Contents

    Class UsdLayerStack

    A mechanism for managing USD layers in a multi-layer shot context.

    Inheritance
    Object
    UsdLayerStack
    Namespace: Unity.Formats.USD
    Syntax
    public class UsdLayerStack : MonoBehaviour

    Fields

    m_layerStack

    Declaration
    public string[] m_layerStack
    Field Value
    Type Description
    String[]

    m_mutedLayers

    Declaration
    public string[] m_mutedLayers
    Field Value
    Type Description
    String[]

    m_targetLayer

    Declaration
    public string m_targetLayer
    Field Value
    Type Description
    String

    Methods

    SaveLayerStack(USD.NET.Scene, String[])

    Ensure each layer path is expressed in the USD sub layer stack of the given scene, creating the sublayer USD files if needed.

    Declaration
    public void SaveLayerStack(USD.NET.Scene scene, string[] layerStack)
    Parameters
    Type Name Description
    USD.NET.Scene scene
    String[] layerStack

    SaveToLayer()

    Writes overrides to the currently targeted subLayer.

    Declaration
    public void SaveToLayer()
    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