XrActionMaps(bpy_struct)

base class — bpy_struct

class bpy.types.XrActionMaps(bpy_struct)

Collection of XR action maps

classmethod new(xr_session_state, name, replace_existing)

new

Parameters
  • xr_session_state (XrSessionState, (never None)) – XR Session State

  • name (string, (never None)) – Name

  • replace_existing (boolean) – Replace Existing, Replace any existing actionmap with the same name

Returns

Action Map, Added action map

Return type

XrActionMap

classmethod new_from_actionmap(xr_session_state, actionmap)

new_from_actionmap

Parameters
  • xr_session_state (XrSessionState, (never None)) – XR Session State

  • actionmap (XrActionMap, (never None)) – Action Map, Action map to use as a reference

Returns

Action Map, Added action map

Return type

XrActionMap

classmethod remove(xr_session_state, actionmap)

remove

Parameters
  • xr_session_state (XrSessionState, (never None)) – XR Session State

  • actionmap (XrActionMap, (never None)) – Action Map, Removed action map

classmethod find(xr_session_state, name)

find

Parameters
  • xr_session_state (XrSessionState, (never None)) – XR Session State

  • name (string, (never None)) – Name

Returns

Action Map, The action map with the given name

Return type

XrActionMap

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

Inherited Functions

References