UsdPropertiesWidgetBuilder#
- class omni.kit.property.usd.UsdPropertiesWidgetBuilder#
Bases:
objectMethods
bool_array_builder(stage, attr_name, ...[, ...])The array is split into components and each one has their own checkBox
bool_builder(stage, attr_name, type_name, ...)build(stage, attr_name, metadata, ...[, ...])build_path_field(model, stage, attr_name, ...)build_prim_path_field(model, ...)can_accept_file_drop(payload, model_weak[, ...])can_accept_prim_path_drop(payload, ...[, ...])convert_asset_path(path)create_attribute_context_menu(widget, model)create_bool_per_channel(stage, attr_name, ...)create_color_or_drag_per_channel(stage, ...)create_color_or_multidrag(stage, attr_name, ...)create_control_state(model[, value_widget, ...])create_drag_or_slider(drag_widget, ...)create_drag_per_channel_with_labels_and_control(...)create_float_drag_per_channel_with_labels_and_control(...)create_int_drag_per_channel_with_labels_and_control(...)create_label(attr_name[, metadata, ...])create_mixed_text_overlay([widget_model, ...])create_multi_drag_with_labels(...)create_multi_float_drag_with_labels(model, ...)create_multi_int_drag_with_labels(model, ...)create_text_label(attr_name[, metadata, ...])fallback_builder(stage, attr_name, ...[, ...])floating_point_builder(stage, attr_name, ...)generate_tooltip_string(attr_name, metadata)get_attr_value_range(metadata)get_attr_value_range_kwargs(metadata)get_attr_value_soft_range(metadata[, model, ...])get_attr_value_soft_range_kwargs(metadata[, ...])get_display_name(attr_name, metadata)get_type_name(metadata)gf_matrix_builder(stage, attr_name, ...[, ...])init_builder_table()integer_builder(stage, attr_name, type_name, ...)is_model_readonly(model)matrix_builder(matrix_model, column_count, ...)relationship_builder(stage, attr_name, ...)reset_builder_coverage_table()sdf_asset_path_array_builder(stage, ...[, ...])sdf_asset_path_builder(stage, attr_name, ...)shutdown()startup()string_builder(stage, attr_name, type_name, ...)tftoken_builder(stage, attr_name, type_name, ...)time_code_builder(stage, attr_name, ...[, ...])validate_url(model, layer, on_complete)Validates model string as URL and calls on_complete with either None for no URL, omni.client.Result.OK or omni.client.Result.ERROR.
vec2_builder(stage, attr_name, type_name, ...)The entire vector is built as one multi-drag field
vec2_per_channel_builder(stage, attr_name, ...)The vector is split into components and each one has their own drag field and status control
vec3_builder(stage, attr_name, type_name, ...)The entire vector is built as one multi-drag field
vec3_per_channel_builder(stage, attr_name, ...)The vector is split into components and each one has their own drag field and status control
vec4_builder(stage, attr_name, type_name, ...)The entire vector is built as one multi-drag field
vec4_per_channel_builder(stage, attr_name, ...)The vector is split into components and each one has their own drag field and status control
Attributes
tf_booltf_bool_arraytf_doubletf_floattf_gf_mtx2dtf_gf_mtx3dtf_gf_mtx4dtf_gf_vec2dtf_gf_vec2ftf_gf_vec2htf_gf_vec2itf_gf_vec3dtf_gf_vec3ftf_gf_vec3htf_gf_vec3itf_gf_vec4dtf_gf_vec4ftf_gf_vec4htf_gf_vec4itf_halftf_inttf_int64tf_sdf_asset_array_pathtf_sdf_asset_pathtf_sdf_time_codetf_stringtf_tf_tokentf_uchartf_uinttf_uint64- __init__()#
- classmethod bool_array_builder(
- stage: Stage,
- attr_name: str,
- type_name: ValueTypeName,
- metadata: dict,
- prim_paths: List[Path],
- additional_label_kwargs: dict | None = None,
- additional_widget_kwargs: dict | None = None,
The array is split into components and each one has their own checkBox
- async classmethod validate_url(
- model,
- layer,
- on_complete,
Validates model string as URL and calls on_complete with either None for no URL, omni.client.Result.OK or omni.client.Result.ERROR.
- Parameters:
model (ui.SimpleStringModel) – model to read string from
layer (Sdf.Layer) – Layer handle.
on_complete (callable) – Function to call when completed.
- classmethod vec2_builder(
- stage,
- attr_name,
- type_name,
- metadata,
- prim_paths: List[Path],
- additional_label_kwargs=None,
- additional_widget_kwargs=None,
The entire vector is built as one multi-drag field
- classmethod vec2_per_channel_builder(
- stage,
- attr_name,
- type_name,
- metadata,
- prim_paths: List[Path],
- additional_label_kwargs=None,
- additional_widget_kwargs=None,
The vector is split into components and each one has their own drag field and status control
- classmethod vec3_builder(
- stage,
- attr_name,
- type_name,
- metadata,
- prim_paths: List[Path],
- additional_label_kwargs=None,
- additional_widget_kwargs=None,
The entire vector is built as one multi-drag field
- classmethod vec3_per_channel_builder(
- stage,
- attr_name,
- type_name,
- metadata,
- prim_paths: List[Path],
- additional_label_kwargs=None,
- additional_widget_kwargs=None,
The vector is split into components and each one has their own drag field and status control
- classmethod vec4_builder(
- stage,
- attr_name,
- type_name,
- metadata,
- prim_paths: List[Path],
- additional_label_kwargs=None,
- additional_widget_kwargs=None,
The entire vector is built as one multi-drag field
- classmethod vec4_per_channel_builder(
- stage,
- attr_name,
- type_name,
- metadata,
- prim_paths: List[Path],
- additional_label_kwargs=None,
- additional_widget_kwargs=None,
The vector is split into components and each one has their own drag field and status control