UsdPropertiesWidgetBuilder#

class omni.kit.property.usd.UsdPropertiesWidgetBuilder#

Bases: object

Methods

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_bool

tf_bool_array

tf_double

tf_float

tf_gf_mtx2d

tf_gf_mtx3d

tf_gf_mtx4d

tf_gf_vec2d

tf_gf_vec2f

tf_gf_vec2h

tf_gf_vec2i

tf_gf_vec3d

tf_gf_vec3f

tf_gf_vec3h

tf_gf_vec3i

tf_gf_vec4d

tf_gf_vec4f

tf_gf_vec4h

tf_gf_vec4i

tf_half

tf_int

tf_int64

tf_sdf_asset_array_path

tf_sdf_asset_path

tf_sdf_time_code

tf_string

tf_tf_token

tf_uchar

tf_uint

tf_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,
) None#

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