AttributeAdapter#

class omni.kit.property.adapter.core.AttributeAdapter(attribute)#

Bases: ABC

Attribute Adapter

Parameters:

attribute (Any) – The attribute to be adapted.

Methods

GetPrim()

Gets the prim associated with this attribute.

GetPropertyType()

Gets the property type of this attribute.

__init__(attribute)

Initializes the adapter with the specified attribute.

Attributes

attribute

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.