PhysicsAutomation

Undocumented in source.

Constructors

this
this(Puppet parent)
Undocumented in source.

Members

Functions

bind
void bind(AutomationBinding binding)

Adds a binding

constrain
void constrain()
Undocumented in source. Be warned that the author may not have intended to support it.
deserializeSelf
void deserializeSelf(Fghj data)
Undocumented in source. Be warned that the author may not have intended to support it.
onUpdate
void onUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
serializeSelf
void serializeSelf(InochiSerializer serializer)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeSelf
void serializeSelf(InochiSerializerCompact serializer)
Undocumented in source. Be warned that the author may not have intended to support it.
simulate
void simulate(size_t i, AutomationBinding binding)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

bounciness
float bounciness;

How bouncy movement should be 1 = default bounciness

damping
float damping;

Amount of damping to apply to movement

gravity
float gravity;

Gravity to apply to each link

nodes
VerletNode[] nodes;

A node in the internal verlet simulation

Inherited Members

From Automation

bindings
AutomationBinding[] bindings;
Undocumented in source.
remapRange
float remapRange(float value, vec2 range)

Helper function to remap range from 0.0-1.0 to min-max

onUpdate
void onUpdate()

Called on update to update a single binding.

serializeSelf
void serializeSelf(InochiSerializer serializer)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeSelf
void serializeSelf(InochiSerializerCompact serializer)
Undocumented in source. Be warned that the author may not have intended to support it.
deserializeSelf
void deserializeSelf(Fghj data)
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name;

Human readable name of automation

enabled
bool enabled;

Whether the automation is enabled

typeId
string typeId;

Type ID of the automation

bind
void bind(AutomationBinding binding)

Adds a binding

finalize
void finalize(Puppet parent)

Finalizes the loading of the automation

update
void update()

Updates and applies the automation to all the parameters that this automation is bound to

serialize
void serialize(S serializer)

Serializes a parameter

deserializeFromFghj
SerdeException deserializeFromFghj(Fghj data)

Deserializes a parameter

Meta