Bone(layer)

A Bone.

new Bone(layer)

Constructs a Bone
Parameters:
Name Type Description
layer ShapeLayer The layer of the bone
Properties:
Name Type Description
layer ShapeLayer The Shape layer of the bone
effect PropertyGroup The effect on the bone

Methods

bakeAppearence()

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

setColor(color)

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

setSize(sizeopt)

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