ZepetoInputControl
RootNamespace.ZepetoInputControl
Class responsible for managing input control schemes and actions for ZEPETO World.
Hierarchy
↳
ZepetoInputControl
Constructors
constructor
• new ZepetoInputControl()
Overrides
System.Object.constructor
Accessors
Camera
• get
Camera(): CameraActions
Returns the set of camera-related input actions.
Returns
GamepadScheme
• get
GamepadScheme(): InputControlScheme
Returns the gamepad control scheme.
Returns
JoystickScheme
• get
JoystickScheme(): InputControlScheme
Returns the joystick control scheme.
Returns
KeyboardMouseScheme
• get
KeyboardMouseScheme(): InputControlScheme
Returns the keyboard and mouse control scheme.
Returns
Player
• get
Player(): PlayerActions
Returns grouped player-related input actions.
Returns
TouchScheme
• get
TouchScheme(): InputControlScheme
Returns the touch control scheme.
Returns
UI
• get
UI(): UIActions
Returns an instance of the UIActions
structure, connecting it with the current ZepetoInputControl
context.
Returns
XRScheme
• get
XRScheme(): InputControlScheme
Returns the XR (Extended Reality) control scheme.
Returns
asset
• get
asset(): InputActionAsset
Returns the input action asset.
Returns
bindingMask
• get
bindingMask(): Nullable$1
<InputBinding
>
Binding mask to filter out specific bindings.
Returns
• set
bindingMask(value
): void
Binding mask to filter out specific bindings.
Parameters
Name | Type |
---|---|
value | Nullable$1 <InputBinding > |
Returns
void
controlSchemes
• get
controlSchemes(): ReadOnlyArray$1
<InputControlScheme
>
Returns the input control schemes.
Returns
ReadOnlyArray$1
<InputControlScheme
>
devices
• get
devices(): Nullable$1
<ReadOnlyArray$1
<InputDevice
>>
Devices that are applicable to the input control.
Returns
Nullable$1
<ReadOnlyArray$1
<InputDevice
>>
• set
devices(value
): void
Devices that are applicable to the input control.
Parameters
Name | Type |
---|---|
value | Nullable$1 <ReadOnlyArray$1 <InputDevice >> |
Returns
void
Methods
Contains
▸ Contains($action
): boolean
Determines whether the specified action is part of the asset.
Parameters
Name | Type | Description |
---|---|---|
$action | InputAction | The action to check for. |
Returns
boolean
If the action is present, the method returns true
.
Disable
▸ Disable(): void
Disables all the input actions.
Returns
void
Dispose
▸ Dispose(): void
Cleans up resources used by the input control, particularly the InputActionAsset
.
Returns
void
Enable
▸ Enable(): void
Enables all the input actions defined in the asset.
Returns
void
GetEnumerator
▸ GetEnumerator(): IEnumerator$1
<InputAction
>
Returns an enumerator that iterates through the actions.
Returns
An enumerator that iterates through the actions.