ZepetoCameraControl
ZEPETO.Character.Controller.ZepetoCameraControl
Manages the camera controls in a ZEPETO environment, including input handling for camera movement and zoom.
Hierarchy
↳
ZepetoCameraControl
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
Name | Type |
---|---|
value | boolean |
Returns
void
Methods
Create
▸ Static
Create($cameraActions
): ZepetoCameraControl
Creates a ZepetoCameraControl
instance.
Parameters
Name | Type | Description |
---|---|---|
$cameraActions | CameraActions | Set of camera actions to be associated with the ZepetoCameraControl . These actions define how the camera will respond to user input. |
Returns
New instance of ZepetoCameraControl
.
Instance is attached to a new game object and ready to handle camera input actions.