Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-usd

Source of release 0.9.2

0.9.2 / tests / fixtures / openusd / museum / BasicInstancing / flattened.usda

#usda 1.0
(
    """
    This museum case demonstrates basic instancing behavior in Pcp.
    Prims tagged as instances are only allowed to override property
    values at the instance root; overrides on descendent prims are
    ignored.
    """
)

over "Flattened_Prototype_1"
{
    def "geom"
    {
        double x = 3.5
    }

    def "From_class_in_set"
    {
    }

    def "From_class_in_root"
    {
    }
}

class "_class_Prop"
{
    double a = 3.5

    def "From_class_in_root"
    {
    }

    over "geom"
    {
        double x = 3.5
    }
}

def "Set_1"
{
    def "InstancedProp" (
        instanceable = true
        add references = </Flattened_Prototype_1>
    )
    {
        double a = 3
    }

    def "UninstancedProp" (
        instanceable = false
    )
    {
        double a = 3

        def "geom"
        {
            double x = 3
        }

        def "From_class_in_set"
        {
        }

        def "From_set"
        {
        }

        def "From_class_in_root"
        {
        }

        def "From_root"
        {
        }
    }
}

def "NotAnInstance" (
    instanceable = true
)
{
    def "Child"
    {
    }
}

def "SubrootReferences"
{
    def "Instanced"
    {
        double x = 3.5
    }

    def "Uninstanced"
    {
        double x = 3
    }
}