IUtils#

class usdrt.population.IUtils#

Bases: _IUtils

Methods

__init__(*args, **kwargs)

Overloaded function.

acquire_or_create_rt_populator(self, ...)

add_capsule(self, stage_id, fc_path, ...)

add_cone(self, stage_id, fc_path, ...)

add_cube(self, stage_id, fc_path, ...)

add_cylinder(self, stage_id, fc_path, ...)

add_geom_instance(self, stage_id, fc_path, ...)

add_instancer(self, stage_id, fc_path, ...)

add_sphere(self, stage_id, fc_path, ...)

apply_pending_usd_updates(self, ...)

define_mesh_with_sizes(self, stage_id, ...)

detach_material(self, ...)

get_enable_usd_notice_handling(self, ...)

get_render_settings_prim_path(self, ...)

is_populated(self, stage_reader_writer_id)

populate_from_usd(*args, **kwargs)

Overloaded function.

populate_xform_attributes(self, stage_id, ...)

release_rt_populator(self, populator_path_c)

set_enable_usd_notice_handling(self, ...)

set_extent(self, stage_reader_writer_id, ...)

set_material_purpose(self, fabric_id, ...)

set_world_xform(self, stage_id, fc_path, ...)

set_xform_values(self, stage_id, fc_path, ...)

synchronize_to_fabric(self, usd_stage_id, ...)

__init__(*args, **kwargs)#

Overloaded function.

  1. __init__(self: usdrt.population._population.IUtils, arg0: omni.core._core.IObject) -> None

  2. __init__(self: usdrt.population._population.IUtils) -> None

acquire_or_create_rt_populator(
self: usdrt.population._population._IUtils,
populator_identifier: str,
stage_reader_writer_id: omni::fabric::StageReaderWriterId,
derived_data_stage_id: omni::fabric::UsdStageId,
) omni::fabric::Path#
add_capsule(
self: usdrt.population._population.IUtils,
stage_id: omni::fabric::StageReaderWriterId,
fc_path: omni::fabric::Path,
display_color: omni::math::linalg::vec3<float>,
fc_axis: omni::fabric::Token,
height: float,
radius: float,
has_animated_xform: bool,
applied_schemas: sequence,
material_id: omni::fabric::Path,
refinement_level: int,
proto_index: int,
instancer_path: omni::fabric::Path,
primvars: sequence,
) None#
add_cone(
self: usdrt.population._population.IUtils,
stage_id: omni::fabric::StageReaderWriterId,
fc_path: omni::fabric::Path,
display_color: omni::math::linalg::vec3<float>,
fc_axis: omni::fabric::Token,
height: float,
radius: float,
has_animated_xform: bool,
applied_schemas: sequence,
material_id: omni::fabric::Path,
refinement_level: int,
proto_index: int,
instancer_path: omni::fabric::Path,
primvars: sequence,
) None#
add_cube(
self: usdrt.population._population.IUtils,
stage_id: omni::fabric::StageReaderWriterId,
fc_path: omni::fabric::Path,
display_color: omni::math::linalg::vec3<float>,
size: float,
has_animated_xform: bool,
applied_schemas: sequence,
material_id: omni::fabric::Path,
refinement_level: int,
proto_index: int,
instancer_path: omni::fabric::Path,
primvars: sequence,
) None#
add_cylinder(
self: usdrt.population._population.IUtils,
stage_id: omni::fabric::StageReaderWriterId,
fc_path: omni::fabric::Path,
display_color: omni::math::linalg::vec3<float>,
fc_axis: omni::fabric::Token,
height: float,
radius: float,
has_animated_xform: bool,
applied_schemas: sequence,
material_id: omni::fabric::Path,
refinement_level: int,
proto_index: int,
instancer_path: omni::fabric::Path,
primvars: sequence,
) None#
add_geom_instance(
self: usdrt.population._population._IUtils,
stage_id: omni::fabric::StageReaderWriterId,
fc_path: omni::fabric::Path,
prim_type: omni::fabric::Token,
proto_path: omni::fabric::Path,
proto_index: int,
has_animated_xform: bool,
material_id: omni::fabric::Path,
is_instance_root: bool,
) None#
add_instancer(
self: usdrt.population._population.IUtils,
stage_id: omni::fabric::StageReaderWriterId,
fc_path: omni::fabric::Path,
has_animated_xform: bool,
prototypes: sequence,
proto_indices: sequence,
translations: sequence,
orientations: sequence,
scales: sequence,
applied_schemas: sequence,
instancer_path: omni::fabric::Path,
proto_index: int,
primvars: sequence,
invisible_ids: sequence,
ids: sequence,
) None#
add_sphere(
self: usdrt.population._population.IUtils,
stage_id: omni::fabric::StageReaderWriterId,
fc_path: omni::fabric::Path,
display_color: omni::math::linalg::vec3<float>,
radius: float,
has_animated_xform: bool,
applied_schemas: sequence,
material_id: omni::fabric::Path,
refinement_level: int,
proto_index: int,
instancer_path: omni::fabric::Path,
primvars: sequence,
) None#
apply_pending_usd_updates(
self: usdrt.population._population._IUtils,
usd_stage_id: omni::fabric::UsdStageId,
stage_reader_writer_id: omni::fabric::StageReaderWriterId,
time: float,
) None#
define_mesh_with_sizes(
self: usdrt.population._population.IUtils,
stage_id: omni::fabric::StageReaderWriterId,
fc_path: omni::fabric::Path,
points: int,
face_vertex_counts: int,
face_vertex_indices: int,
subsets: int,
subset_indices: int,
is_prototype: bool,
primvars: sequence,
time_varying_attributes: int,
subdivision_scheme: omni::fabric::Token,
interpolate_boundary: omni::fabric::Token,
face_varying_linear_interpolation: omni::fabric::Token,
triangle_subdivision_rule: omni::fabric::Token,
crease_indices: int,
crease_lengths: int,
crease_sharpnesses: int,
corner_indices: int,
corner_sharpnesses: int,
has_animated_xform: bool,
applied_schemas: sequence,
has_material: bool,
hole_indices: int,
) None#
detach_material(
self: usdrt.population._population._IUtils,
stage_reader_writer_id: omni::fabric::StageReaderWriterId,
prim_path_c: omni::fabric::Path,
) None#
get_enable_usd_notice_handling(
self: usdrt.population._population._IUtils,
usd_stage_id: omni::fabric::UsdStageId,
) bool#
get_render_settings_prim_path(
self: usdrt.population._population._IUtils,
stage_reader_writer_id: omni::fabric::StageReaderWriterId,
) omni::fabric::Path#
is_populated(
self: usdrt.population._population._IUtils,
stage_reader_writer_id: omni::fabric::StageReaderWriterId,
) bool#
populate_from_usd(*args, **kwargs)#

Overloaded function.

  1. populate_from_usd(self: usdrt.population._population.IUtils, stage_reader_writer_id: omni::fabric::StageReaderWriterId, usd_stage_id: omni::fabric::UsdStageId, prim_path_c: omni::fabric::Path, time: float) -> object

  2. populate_from_usd(self: usdrt.population._population.IUtils, stage_reader_writer_id: omni::fabric::StageReaderWriterId, usd_stage_id: omni::fabric::UsdStageId, prim_path_cs: sequence, time: float, diff_mode: bool) -> object

populate_xform_attributes(
self: usdrt.population._population.IUtils,
stage_id: omni::fabric::StageReaderWriterId,
fc_path: omni::fabric::Path,
translation: omni::math::linalg::vec3<double>,
rotation: omni::math::linalg::quat<float>,
scale: omni::math::linalg::vec3<float>,
world_extent: omni::math::linalg::range3<double>,
applied_schemas: sequence,
) None#
release_rt_populator(
self: usdrt.population._population._IUtils,
populator_path_c: omni::fabric::Path,
) None#
set_enable_usd_notice_handling(
self: usdrt.population._population._IUtils,
usd_stage_id: omni::fabric::UsdStageId,
fabric_id: omni::fabric::FabricId,
value: bool,
) None#
set_extent(
self: usdrt.population._population.IUtils,
stage_reader_writer_id: omni::fabric::StageReaderWriterId,
fc_path: omni::fabric::Path,
local_extent: omni::math::linalg::range3<double>,
world_extent: omni::math::linalg::range3<double>,
) None#
set_material_purpose(
self: usdrt.population._population._IUtils,
fabric_id: omni::fabric::FabricId,
material_purpose_c: omni::fabric::Token,
) None#
set_world_xform(
self: usdrt.population._population.IUtils,
stage_id: omni::fabric::StageReaderWriterId,
fc_path: omni::fabric::Path,
xform: omni::math::linalg::matrix4<double>,
visibility: omni::fabric::Token,
world_visibility: bool,
) None#
set_xform_values(
self: usdrt.population._population.IUtils,
stage_id: omni::fabric::StageReaderWriterId,
fc_path: omni::fabric::Path,
translation: omni::math::linalg::vec3<double>,
rotation: omni::math::linalg::quat<float>,
scale: omni::math::linalg::vec3<float>,
visibility: omni::fabric::Token,
world_visibility: bool,
) None#
synchronize_to_fabric(
self: usdrt.population._population._IUtils,
usd_stage_id: omni::fabric::UsdStageId,
stage_reader_writer_id: omni::fabric::StageReaderWriterId,
time_change: usdrt::TimeChange,
time: usdrt::UsdTimeCode,
) None#