Skip to main content

ZepetoCameraControl

ZEPETO.Character.Controller.ZepetoCameraControl

Manages the camera controls in a ZEPETO environment, including input handling for camera movement and zoom.

Hierarchy

Constructors

constructor

new ZepetoCameraControl()

Overrides

UnityEngine.MonoBehaviour.constructor

Accessors

Enable

set Enable(value): void

Determines whether camera control (zoom or rotation) input is enabled.

Parameters

NameType
valueboolean

Returns

void

Methods

Create

Static Create($cameraActions): ZepetoCameraControl

Creates a ZepetoCameraControl instance.

Parameters

NameTypeDescription
$cameraActionsCameraActionsSet of camera actions to be associated with the ZepetoCameraControl. These actions define how the camera will respond to user input.

Returns

ZepetoCameraControl

New instance of ZepetoCameraControl. Instance is attached to a new game object and ready to handle camera input actions.