XRInputActionMap
Manages general supported XR input actions.
Summary
Inheritance
Inherits from:ScriptableObject
Properties |
|
|---|---|
LeftHandButton
|
InputActionProperty
Gets or sets the InputActionProperty for left hand button.
|
LeftHandPosition
|
InputActionProperty
Gets or sets the InputActionProperty for left hand position.
|
LeftHandRotation
|
InputActionProperty
Gets or sets the InputActionProperty for left hand rotation.
|
RightHandButton
|
InputActionProperty
Gets or sets the InputActionProperty for right hand button.
|
RightHandPosition
|
InputActionProperty
Gets or sets the InputActionProperty for right hand position.
|
RightHandRotation
|
InputActionProperty
Gets or sets the InputActionProperty for right hand rotation.
|
Public static functions |
|
|---|---|
CheckAction(InputActionProperty actionProperty)
|
bool
Checks if the given InputActionProperty has a valid action.
|
ToggleAction(InputActionProperty actionProperty, bool enable)
|
void
Toggles the given input action if it's assigned.
|
Public functions |
|
|---|---|
ToggleAllActions(bool enable)
|
void
Toggles all actions from this map if they are assigned.
|
Properties
LeftHandButton
InputActionProperty LeftHandButton
Gets or sets the InputActionProperty for left hand button.
LeftHandPosition
InputActionProperty LeftHandPosition
Gets or sets the InputActionProperty for left hand position.
LeftHandRotation
InputActionProperty LeftHandRotation
Gets or sets the InputActionProperty for left hand rotation.
RightHandButton
InputActionProperty RightHandButton
Gets or sets the InputActionProperty for right hand button.
RightHandPosition
InputActionProperty RightHandPosition
Gets or sets the InputActionProperty for right hand position.
RightHandRotation
InputActionProperty RightHandRotation
Gets or sets the InputActionProperty for right hand rotation.
Public static functions
CheckAction
bool CheckAction( InputActionProperty actionProperty )
Checks if the given InputActionProperty has a valid action.
| Details | |||
|---|---|---|---|
| Parameters |
|
||
| Returns |
Returns
true if it has a valid action. |
||
ToggleAction
void ToggleAction( InputActionProperty actionProperty, bool enable )
Toggles the given input action if it's assigned.
| Details | |||||
|---|---|---|---|---|---|
| Parameters |
|
||||
Public functions
ToggleAllActions
void ToggleAllActions( bool enable )
Toggles all actions from this map if they are assigned.
| Details | |||
|---|---|---|---|
| Parameters |
|
||