WeldEffect

An effect that welds other meshes to this mesh, forcing the welded meshes to be dragged towards paired vertices

Constructors

this
this(Part parent)

Constructs a new mesh effect.

Members

Functions

onApply
void onApply(DrawList drawList)

Called after the full node update cycle.

onDeserialize
void onDeserialize(DataNode object, ModelState state)

Deserializes this node from a DataNode.

onFinalize
void onFinalize(ModelState state)

Called when the Effect is to be finalized during loading.

onSerialize
void onSerialize(DataNode object)

Serializes this MeshEffect to a DataNode.

rebuildWeights
void rebuildWeights()

Rebuilds the weight deltas for the WeldEffect.

rebuildWelds
void rebuildWelds()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

target
IDeformable target [@property getter]

Target of the weld

target
IDeformable target [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From MeshEffect

onSerialize
void onSerialize(DataNode object)

Serializes this MeshEffect to a DataNode.

onDeserialize
void onDeserialize(DataNode object, ModelState state)

Deserializes this node from a DataNode.

onFinalize
void onFinalize(ModelState state)

Called when the Effect is to be finalized during loading.

onApply
void onApply(DrawList drawList)

Called after the full node update cycle.

parent
Part parent [@property getter]

The target of the effect.

serialize
void serialize(DataNode object)

Serializes this mesh effect to a DataNode.

deserialize
void deserialize(DataNode object, ModelState state)

Deserializes this mesh effect from a DataNode.

finalize
void finalize(ModelState state)

Finalizes this mesh effect.

apply
void apply(DrawList drawList)

Applies the late mesh effect, should be called after all of the normal node updates have completed.

Meta