PropertyFilter#
- class omni.kit.window.property.PropertyFilter#
Bases:
object
User defined filters for properties. For now, just a substring filter on property names.
Methods
__init__
()Initialize class function.
matches
(name)Returns True if name matches filter, so property should be visible.
Attributes
Name getter function.
Model name getter function.
- __init__()#
Initialize class function.
- matches(name: str) bool #
Returns True if name matches filter, so property should be visible.
- Parameters:
name – name to match.
- Returns:
True if matched
- Return type:
bool
- property name#
Name getter function.
- Returns:
name
- Return type:
str
- property name_model#
Model name getter function.
- Returns:
name model.
- Return type:
str