A mechanism for managing USD layers in a multi-layer shot context.
Inheritance
UsdLayerStack
[RequireComponent(typeof(UsdAsset))]
public class UsdLayerStack : MonoBehaviour
Fields
Declaration
public string[] m_layerStack
Field Value
Declaration
public string[] m_mutedLayers
Field Value
Declaration
public string m_targetLayer
Field Value
Methods
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(Scene scene, string[] layerStack)
Parameters
Type |
Name |
Description |
USD.NET.Scene |
scene |
|
String[] |
layerStack |
|
Writes overrides to the currently targeted subLayer.
Declaration
public void SaveToLayer()