XrActionMapItems(bpy_prop_collection)
base classes — bpy_prop, bpy_prop_collection
- class bpy.types.XrActionMapItems(bpy_prop_collection)
Collection of XR action map items
- new(name, replace_existing)
new
- Parameters:
name (str) – Name of the action map item, (never None)
replace_existing (bool) – Replace Existing, Replace any existing item with the same name
- Returns:
Item, Added action map item
- Return type:
- new_from_item(item)
new_from_item
- Parameters:
item (
XrActionMapItem) – Item, Item to use as a reference (never None)- Returns:
Item, Added action map item
- Return type:
- remove(item)
remove
- Parameters:
item (
XrActionMapItem) – Item, (never None)
- find(name)
find
- Parameters:
name (str) – Name, (never None)
- Returns:
Item, The action map item with the given name
- Return type:
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type