IFabricHierarchy#

class usdrt.hierarchy.IFabricHierarchy#

Bases: _IFabricHierarchy

Methods

__init__(*args, **kwargs)

Overloaded function.

get_fabric_hierarchy(self, fabric_id, stage_id)

get_fabric_id(self)

get_local_xform(self, path)

get_reset_xform_stack(self, path)

get_world_xform(self, path)

mark_time_sampled_xform_dirty(self, path)

set_local_xform(self, path, xform)

set_reset_xform_stack(self, path, reset)

set_time_sampled_xform_hint(self, new_time, ...)

set_world_xform(self, path, xform)

track_local_xform_changes(self, enabled)

track_reset_xform_stack_changes(self, enabled)

track_world_xform_changes(self, enabled)

update_world_xforms(self)

update_world_xforms_gpu(self[, ...])

Update world transforms and extents from local transforms on the GPU.

__init__(*args, **kwargs)#

Overloaded function.

  1. __init__(self: usdrt.hierarchy._hierarchy.IFabricHierarchy, arg0: omni.core._core.IObject) -> None

  2. __init__(self: usdrt.hierarchy._hierarchy.IFabricHierarchy) -> None

get_fabric_hierarchy(
self: usdrt.hierarchy._hierarchy.IFabricHierarchy,
fabric_id: omni::fabric::FabricId,
stage_id: omni::fabric::UsdStageId,
) usdrt.hierarchy._hierarchy.IFabricHierarchy#
get_fabric_id(
self: usdrt.hierarchy._hierarchy._IFabricHierarchy,
) omni::fabric::FabricId#
get_local_xform(
self: usdrt.hierarchy._hierarchy._IFabricHierarchy,
path: omni::fabric::Path,
) omni::math::linalg::matrix4<double>#
get_reset_xform_stack(
self: usdrt.hierarchy._hierarchy._IFabricHierarchy,
path: omni::fabric::Path,
) bool#
get_world_xform(
self: usdrt.hierarchy._hierarchy._IFabricHierarchy,
path: omni::fabric::Path,
) omni::math::linalg::matrix4<double>#
mark_time_sampled_xform_dirty(
self: usdrt.hierarchy._hierarchy._IFabricHierarchy,
path: omni::fabric::Path,
) None#
set_local_xform(
self: usdrt.hierarchy._hierarchy._IFabricHierarchy,
path: omni::fabric::Path,
xform: omni::math::linalg::matrix4<double>,
) bool#
set_reset_xform_stack(
self: usdrt.hierarchy._hierarchy._IFabricHierarchy,
path: omni::fabric::Path,
reset: bool,
) bool#
set_time_sampled_xform_hint(
self: usdrt.hierarchy._hierarchy._IFabricHierarchy,
new_time: float,
resync_occurred: bool,
) None#
set_world_xform(
self: usdrt.hierarchy._hierarchy._IFabricHierarchy,
path: omni::fabric::Path,
xform: omni::math::linalg::matrix4<double>,
) bool#
track_local_xform_changes(
self: usdrt.hierarchy._hierarchy._IFabricHierarchy,
enabled: bool,
) None#
track_reset_xform_stack_changes(
self: usdrt.hierarchy._hierarchy._IFabricHierarchy,
enabled: bool,
) None#
track_world_xform_changes(
self: usdrt.hierarchy._hierarchy._IFabricHierarchy,
enabled: bool,
) None#
update_world_xforms(
self: usdrt.hierarchy._hierarchy._IFabricHierarchy,
) None#
update_world_xforms_gpu(
self: usdrt.hierarchy._hierarchy._IFabricHierarchy,
no_structural_changes_hint: bool = False,
) bool#

Update world transforms and extents from local transforms on the GPU.

This function is meant to be used after only GPU local transform updates happened in Fabric.

noStructuralChangesHint - Hint to indicate that there were no structural changes since the last call

When set to true but there were structural changes the behavior is undefined

Returns: true if the update was successful, false otherwise