AllowedTokenItem#

class omni.kit.property.usd.AllowedTokenItem(item)#

Bases: AbstractItem

A class representing an item that is allowed as a token.

This class encapsulates a single token item, providing a model to represent the item as a simple string within the user interface. It is derived from the `ui.AbstractItem` class in the Omni UI framework.

Parameters:

item (str) – The token item to be represented.

Methods

__init__(item)

Initializes a new instance of the AllowedTokenItem.

__init__(item)#

Initializes a new instance of the AllowedTokenItem.