AttributeDataHandle#
Fully qualified name: omni::graph::core::AttributeDataHandle
-
class AttributeDataHandle : public omni::graph::core::HandleBase<AttrKey, AttributeDataHandle>#
Object representing a handle to a variable AttributeData type.
Public Functions
-
inline TargetPath path() const noexcept#
Path to the prim or bundle of the attribute, e.g. in “/world/cube.size”, this returns “/world/cube”.
-
inline NameToken name() const noexcept#
Name of the attribute, e.g. in “/world/cube.size”, this would be “size”.
-
inline BackendId backendId() const noexcept#
The specific backend ID associated to this handle Returns kInvalidBackendId if this handle is meant to be used with the default backend associated to the graph.
-
inline operator ConstAttributeDataHandle() const#
Returns a constant AttributeDataHandle pointing to the same AttributeData as this variable one.
-
inline bool isValid() const#
Returns true if the handle is currently valid.
-
inline bool operator==(HandleBase rhs) const#
Equality operator - only identical handles are equal.
-
inline bool operator!=(HandleBase rhs) const#
Inequality operator - only identical handles are equal.
Public Static Functions
-
static inline constexpr AttributeDataHandle invalidHandle()#
Constant representing a unique invalid handle for this instantiation.
-
inline TargetPath path() const noexcept#