AttributeAdapter#
- class omni.kit.property.adapter.core.AttributeAdapter(attribute)#
Bases:
ABCAttribute Adapter
- Parameters:
attribute (Any) – The attribute to be adapted.
Methods
GetPrim()Gets the prim associated with this attribute.
Gets the property type of this attribute.
__init__(attribute)Initializes the adapter with the specified attribute.
Attributes
Gets the wrapped attribute object.
- __init__(attribute) None#
Initializes the adapter with the specified attribute.
- abstract GetPrim()#
Gets the prim associated with this attribute.
- Raises:
NotImplementedError – This method must be implemented by subclasses.
- abstract GetPropertyType()#
Gets the property type of this attribute.
- Raises:
NotImplementedError – This method must be implemented by subclasses.
- property attribute#
Gets the wrapped attribute object.
- Returns:
The wrapped attribute object.