CustomLayoutProperty#

class omni.kit.property.usd.CustomLayoutProperty(
prop_name,
display_name=None,
build_fn=None,
hide_if_true=None,
show_if_true=None,
)#

Bases: object

Class that represents a property in the custom layout.

Methods

__init__(prop_name[, display_name, ...])

get_build_fn()

Gets the build function of the property.

get_display_name()

Gets the display name of the property.

get_property_name()

Gets the name of the property.

is_visible()

Gets the visibility of the property.

__init__(
prop_name,
display_name=None,
build_fn=None,
hide_if_true=None,
show_if_true=None,
)#
get_build_fn()#

Gets the build function of the property.

Returns:

The build function of the property.

Return type:

Callable

get_display_name()#

Gets the display name of the property.

Returns:

The display name of the property.

Return type:

str

get_property_name()#

Gets the name of the property.

Returns:

The name of the property.

Return type:

str

is_visible()#

Gets the visibility of the property.

Returns:

The visibility of the property.

Return type:

bool