MeshEffect

Base class of effects that modify meshes.

Constructors

this
this(Part parent)

Constructs a new mesh effect.

Members

Functions

apply
void apply(DrawList drawList)

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

deserialize
void deserialize(DataNode object, ModelState state)

Deserializes this mesh effect from a DataNode.

finalize
void finalize(ModelState state)

Finalizes this mesh effect.

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.

serialize
void serialize(DataNode object)

Serializes this mesh effect to a DataNode.

Properties

parent
Part parent [@property getter]

The target of the effect.

Meta