-
Notifications
You must be signed in to change notification settings - Fork 4
Controller
Tempestissiman edited this page Jul 26, 2022
·
2 revisions
Descriptions
The base class for all controllers.
Remarks
All other types of controller will have properties and methods of this class.
| Name | Type | Description |
|---|---|---|
isPersistent |
bool | Whether or not this controller is persistent |
active |
ValueChannel | Value 1 means object is enabled, 0 means object is disabled |
Descriptions
Return all controllers parented to this controller.
Parameters
_
Return types
Table of Controller
Remarks
_
Example
local trackChildren = Scene.track.getChildren()
for i, channel in ipairs(trackChildren) do
channel.colorA = Channel.constant(0)
endDescriptions
Set the parent to another controller.
Parameters
| Name | Type | Description |
|---|---|---|
controller |
Controller | The controller to parent to |
Return types
nil
Remarks
_
Example
local canvas = Scene.createCanvas()
local text = Scene.createText()
text.setParent(canvas)Global
Channels
Controllers
- Controller
- CanvasController
- ImageController
- MeshController
- SpriteController
- TextController
- CameraController
- TrackController
- NoteGroupController
Post processing
- AutoExposureController
- BloomController
- ChromaticAberrationController
- ColorGradingController
- DepthOfFieldController
- GrainController
- LensDistortionController
- MotionBlurController
- VignetteController
Data types