DuAEF.Duik.Automation.Randomize

Randomize tools

Methods

static indices(layers, fromCurrentValopt, min, max)

Randomizes the indices of the layers
Parameters:
Name Type Attributes Description
layers Array.<Layer> | LayerCollection The layers
fromCurrentVal boolean <optional>
true to offset the current value
min float minimum index
max float maximum index

static inPoints(layers, fromCurrentValopt, min, max)

Randomizes the in points of the layers
Parameters:
Name Type Attributes Description
layers Array.<Layer> | LayerCollection The layers
fromCurrentVal boolean <optional>
true to offset the current value
min float minimum time (in frames)
max float maximum time (in frames)

static outPoints(layers, fromCurrentValopt, min, max)

Randomizes the out points of the layers
Parameters:
Name Type Attributes Description
layers Array.<Layer> | LayerCollection The layers
fromCurrentVal boolean <optional>
true to offset the current value
min float minimum time (in frames)
max float maximum time (in frames)

static properties(props, fromCurrentValopt, xMin, xMax, yMinopt, yMaxopt, zMinopt, zMaxopt, collapseDimensionsopt)

Randomizes the values at current time of the Properties
Parameters:
Name Type Attributes Default Description
props Array.<PropertyBase> | Array.<PropertyInfo> The Properties
fromCurrentVal boolean <optional>
true to offset the current value
xMin float X minimum value
xMax float X maximum value
yMin float <optional>
Y minimum value
yMax float <optional>
Y maximum value
zMin float <optional>
Z minimum value
zMax float <optional>
Z maximum value
collapseDimensions boolean <optional>
false True to use the same random value (x) on all axis

static selectedKeys(props, fromCurrentValopt, xMin, xMax, yMinopt, yMaxopt, zMinopt, zMaxopt, collapseDimensionsopt)

Randomizes the values of the selected keys of the Properties
Parameters:
Name Type Attributes Default Description
props Array.<PropertyBase> The Properties
fromCurrentVal boolean <optional>
true to offset the current value
xMin float X minimum value
xMax float X maximum value
yMin float <optional>
Y minimum value
yMax float <optional>
Y maximum value
zMin float <optional>
Z minimum value
zMax float <optional>
Z maximum value
collapseDimensions boolean <optional>
false True to use the same random value (x) on all axis

static selectedKeyTimes(props, fromCurrentValopt, min, max)

Randomizes the times of the selected keys of the Properties
Parameters:
Name Type Attributes Description
props Array.<PropertyBase> The Properties
fromCurrentVal boolean <optional>
true to offset the current value
min float minimum time (in frames)
max float maximum time (in frames)

static startTimes(layers, fromCurrentValopt, min, max)

Randomizes the start times of the layers
Parameters:
Name Type Attributes Description
layers Array.<Layer> | LayerCollection The layers
fromCurrentVal boolean <optional>
true to offset the current value
min float minimum time (in frames)
max float maximum time (in frames)