Controller(layer)

A Controller.

new Controller(layer)

Constructs a Controller
Parameters:
Name Type Description
layer ShapeLayer The layer of the controller
Properties:
Name Type Description
layer ShapeLayer The Shape layer of the controller
type DuAEF.Duik.Controller.Types The type of the controller
effect PropertyGroup The effect on the layer

Methods

bakeAppearance()

"Bakes" the appearance of the Controller,
in order to improve performance and simplify the use of the rig when animating.

setColor(color)

Sets a new display color for the controller
Parameters:
Name Type Description
color Array.<float> The new color

setSize(sizeopt)

Sets a new display size for the controller
Parameters:
Name Type Attributes Description
size int <optional>
The controller size, a percentage. By default, it will adjust automatically depending on comp size and DuAEF.Duik.Controller.sizeHint