CameraActions
ZepetoInputControl.CameraActions
Manages camera-related input actions within the ZEPETO World.
Hierarchy
↳
CameraActions
Constructors
constructor
• new CameraActions($wrapper
)
Parameters
Name | Type |
---|---|
$wrapper | ZepetoInputControl |
Overrides
System.ValueType.constructor
Accessors
PrimaryTouchContact
• get
PrimaryTouchContact(): InputAction
Returns the input action for detecting contact on the primary touch.
Returns
PrimaryTouchPosition
• get
PrimaryTouchPosition(): InputAction
Returns the input action for capturing the position of the primary touch.
Returns
Scroll
• get
Scroll(): InputAction
Returns the input action for scrolling the camera.
Returns
SecondaryTouchContact
• get
SecondaryTouchContact(): InputAction
Returns the input action for detecting contact on the secondary touch.
Returns
SecondaryTouchPosition
• get
SecondaryTouchPosition(): InputAction
Returns the input action for capturing the position of the secondary touch.
Returns
TertiaryTouchContact
• get
TertiaryTouchContact(): InputAction
Returns the input action for detecting contact on the tertiary touch.
Returns
TertiaryTouchPosition
• get
TertiaryTouchPosition(): InputAction
Returns the input action for capturing the position of the tertiary touch.
Returns
enabled
• get
enabled(): boolean
Indicates whether the input actions within the camera action map are currently enabled.
Returns
boolean
Methods
Disable
▸ Disable(): void
Disables all the input actions within the camera action map.
Returns
void
Enable
▸ Enable(): void
Enables all the input actions within the camera action map.
Returns
void
Get
▸ Get(): InputActionMap
Retrieves the InputActionMap associated with camera actions from the ZepetoInputControl.
Returns
Returns an InputActionMap object, a collection of camera-related input actions.
SetCallbacks
▸ SetCallbacks($instance
): void
Sets the callback interface for the camera actions, allowing external implementation of action handlers.
Parameters
Name | Type | Description |
---|---|---|
$instance | ICameraActions | Object implements the ICameraActions interface. |
Returns
void