Skip to content

CameraController

rech edited this page Jun 15, 2026 · 1 revision

Description

Controller for the camera.

Remarks

Inherited from Controller

Properties


Name Type Description
active ValueChannel value 1 means object is enabled, 0 means object is disabled
translationX ValueChannel The camera's position
translationY ValueChannel The camera's position
translationZ ValueChannel The camera's position
rotationX ValueChannel The camera's rotation
rotationY ValueChannel The camera's rotation
rotationZ ValueChannel The camera's rotation
scaleX ValueChannel The camera's scaling
scaleY ValueChannel The camera's scaling
scaleZ ValueChannel The camera's scaling
fieldOfView ValueChannel The camera's field of view
tiltFactor ValueChannel How much the camera should tilt when an arc intersects with judgement plane

Methods


getChildren()

Description

Return all controllers parented to this controller.

Parameters

_

Return types

Table of Controller

Remarks

_

Example

local children = Scene.gameplayCamera.getChildren()

setParent(controller)

Description

Set the parent to another controller.

Parameters

Name Type Description
controller Controller The controller to parent to

Return types

nil

Remarks

_

Example

Scene.gameplayCamera.setParent(Scene.worldCanvas)

Clone this wiki locally