Documentation ¶
Overview ¶
Package OpenXRActionSet provides methods for working with OpenXRActionSet object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) Actions() []any
- func (self Instance) AddAction(action [1]gdclass.OpenXRAction)
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsOpenXRActionSet() Instance
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsResource() Resource.Instance
- func (self Instance) GetActionCount() int
- func (self Instance) LocalizedName() string
- func (self Instance) Priority() int
- func (self Instance) RemoveAction(action [1]gdclass.OpenXRAction)
- func (self Instance) SetActions(value []any)
- func (self Instance) SetLocalizedName(value string)
- func (self Instance) SetPriority(value int)
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advanced ¶
type Advanced = class
Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.
type Instance ¶
type Instance [1]gdclass.OpenXRActionSet
Action sets in OpenXR define a collection of actions that can be activated in unison. This allows games to easily change between different states that require different inputs or need to reinterpret inputs. For instance we could have an action set that is active when a menu is open, an action set that is active when the player is freely walking around and an action set that is active when the player is controlling a vehicle. Action sets can contain the same action with the same name, if such action sets are active at the same time the action set with the highest priority defines which binding is active.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AddAction ¶
func (self Instance) AddAction(action [1]gdclass.OpenXRAction)
Add an action to this action set.
func (Instance) AsOpenXRActionSet ¶
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsResource ¶
func (Instance) GetActionCount ¶
Retrieve the number of actions in our action set.
func (Instance) LocalizedName ¶
func (Instance) RemoveAction ¶
func (self Instance) RemoveAction(action [1]gdclass.OpenXRAction)
Remove an action from this action set.