warp.mesh_get_group_root#

warp.mesh_get_group_root(id: uint64, group: int32) int#
  • Kernel

Get the root of a group in a warp.Mesh.

Returns the root node index for the specified group. If the group does not exist, returns -1 (sentinel for the mesh’s global root). Pass -1 to mesh queries to traverse from the global root.

param id:

The mesh identifier

param group:

The group identifier