Skip to content

Support having multiple values in Attribute #154

@syoyo

Description

@syoyo

Currently TinyUSDZ's Attribute/Property implementation does not allow having multiple values(the first wins)

USD's Attribute can have multiple values(default value, timeSamples and connection)

https://lucascheller.github.io/VFX-UsdSurvivalGuide/core/elements/animation.html

we need to support a syntax like this.
This would change TinyUSDZ's API

def Cube "Cube" (
)
{
    double size = 15
    double size.timeSamples = {
        1001: 1,
        1010: 10,
    }
   double size.connection = </path/to/value>
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions