Skip to main content

CameraActions

ZepetoInputControl.CameraActions

Manages camera-related input actions within the ZEPETO World.

Hierarchy

Constructors

constructor

new CameraActions($wrapper)

Parameters

NameType
$wrapperZepetoInputControl

Overrides

System.ValueType.constructor

Accessors

PrimaryTouchContact

get PrimaryTouchContact(): InputAction

Returns the input action for detecting contact on the primary touch.

Returns

InputAction


PrimaryTouchPosition

get PrimaryTouchPosition(): InputAction

Returns the input action for capturing the position of the primary touch.

Returns

InputAction


Scroll

get Scroll(): InputAction

Returns the input action for scrolling the camera.

Returns

InputAction


SecondaryTouchContact

get SecondaryTouchContact(): InputAction

Returns the input action for detecting contact on the secondary touch.

Returns

InputAction


SecondaryTouchPosition

get SecondaryTouchPosition(): InputAction

Returns the input action for capturing the position of the secondary touch.

Returns

InputAction


TertiaryTouchContact

get TertiaryTouchContact(): InputAction

Returns the input action for detecting contact on the tertiary touch.

Returns

InputAction


TertiaryTouchPosition

get TertiaryTouchPosition(): InputAction

Returns the input action for capturing the position of the tertiary touch.

Returns

InputAction


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

InputActionMap

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

NameTypeDescription
$instanceICameraActionsObject implements the ICameraActions interface.

Returns

void