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.- Parameters:
id – The mesh identifier
group – The group identifier
- 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
-1to mesh queries to traverse from the global root.
- The root node index for the specified group. If the group does not exist, returns