IPrimView#
- class omni.graph.core.IPrimView#
Bases:
_IPrimView
PrimView is an interface that provides a view to a set of prims for use with OmniGraph instancing.
The prim view provides both a list of prims, and a layout of which prims can be treated as consecutive data in fabric
Methods
__init__
(*args, **kwargs)Overloaded function.
Attributes
Returns the list of prim paths as a flat list.
prim_count
Returns the property paths as a list of lists of segments.
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: omni.graph.core._omni_graph_core.IPrimView, arg0: omni.core._core.IObject) -> None
__init__(self: omni.graph.core._omni_graph_core.IPrimView) -> None
- property paths#
Returns the list of prim paths as a flat list.
- property segments#
Returns the property paths as a list of lists of segments.
If the prim view supports ordering prims by bucket, then each sublist represents the prims in a single bucket, in the order they appear in the bucket.
The order of the buckets is arbitrary, but stable between calls where the buckets have not been updated