Contents

subscript(_:as:)

Access or modify the value of a named attribute on this prim.

Declaration

subscript<T>(attributeName: USDToken, as type: T.Type) -> T? where T : USDPrim.Attribute.Value { get nonmutating set }

Overview

If the attribute has time samples, this subscript operates at the default time code.