PathToken#

Fully qualified name: isaacsim::physics::registration::PathToken

class PathToken#

Strong type for a USD path encoded as an unsigned 64-bit value.

Physics APIs use path tokens when a USD prim path identifier crosses the ABI boundary, such as in contact events, scene queries, and step contexts.

Public Functions

inline PathToken()#

Constructs an empty path token.

inline PathToken(uint64_t value)#

Constructs a path token from an encoded path value.

Parameters:

value – [in] The encoded USD path value.

inline size_t computeHash() const#

Returns a hash value for this path token.

Returns:

The encoded path value converted to size_t.

inline bool operator==(const PathToken &other) const#

Compares two path tokens for equality.

Parameters:

other – [in] The path token to compare with.

Returns:

true if both tokens contain the same encoded path; otherwise, false.

inline bool operator!=(const PathToken &other) const#

Compares two path tokens for inequality.

Parameters:

other – [in] The path token to compare with.

Returns:

true if the tokens contain different encoded paths; otherwise, false.

Public Members

uint64_t path#

The encoded USD path value.

A value of zero represents an empty path.