Composite

Composite Node

Constructors

this
this(Node parent)

Constructs a new mask

this
this(GUID guid, Node parent)

Constructs a new composite

Destructor

~this
~this()

Destructor

Members

Functions

notifyVisualsChanged
void notifyVisualsChanged()

Notifies the composite that the visuals have changed and that it should re-index them.

onDefineProperties
void onDefineProperties(PropertyStore propList)

Called when the node is to define its properties.

onDelegateFindVisuals
void onDelegateFindVisuals(weak_vector!Visual visuals, bool recurseDelegates, bool append)

Requests that the list gather sub-visuals to be rendered, if applicable.

onDeserialize
void onDeserialize(DataNode object, ModelState state)

Deserializes this node from a DataNode.

onDraw
void onDraw(float delta, DrawList drawList)

Called when the node is to be redrawn.

onDrawMask
void onDrawMask(float delta, DrawList drawList, MaskingMode mode)

Called when the node should be drawn to a mask.

onFinalize
void onFinalize(ModelState state)

Called when the node is to finalize its deserialization from disk.

onPreUpdate
void onPreUpdate(DrawList drawList)

Called during the early update phase of a new frame.

onSerialize
void onSerialize(DataNode object)

Serializes this node to a DataNode.

onUpdate
void onUpdate(float delta, DrawList drawList)

Called during the update phase of a new frame.

Properties

isDelegated
bool isDelegated [@property getter]

Whether the renderer should delegate rendering logic to the visual node.

isMasking
bool isMasking [@property getter]

Whether the node can be used as a source of masking operations.

Variables

blendingMode
BlendMode blendingMode;

The blending mode

opacity
float opacity;

The opacity of the composite

screenTint
vec3 screenTint;

Screen tint color

tint
vec3 tint;

Multiplicative tint color

Inherited Members

From Visual

onSerialize
void onSerialize(DataNode object)

Serializes this node to a DataNode.

onDeserialize
void onDeserialize(DataNode object, ModelState state)

Deserializes this node from a DataNode.

onFinalize
void onFinalize(ModelState state)

Called when the node is to finalize its deserialization from disk.

onDelegateFindVisuals
void onDelegateFindVisuals(weak_vector!Visual visuals, bool recurseDelegates, bool append)

Callback for when the Visual is being requested to find its sub-visuals.

onDrawMask
void onDrawMask(float delta, DrawList drawList, MaskingMode mode)

Called when the node should be drawn to a mask.

onDefineProperties
void onDefineProperties(PropertyStore propList)

Called when the node is to define its properties.

isDelegated
bool isDelegated [@property getter]

Whether the renderer should delegate rendering logic to the visual node.

isMasking
bool isMasking [@property getter]

Whether the node can be used as a source of masking operations.

zSort
int zSort [@property getter]

World-space Z-sorting value

zSortRender
float zSortRender [@property getter]

World-space z-sorting value taking in to account properties.

~this
~this()

Destructor

drawMask
void drawMask(float delta, DrawList drawList, MaskingMode mode)

Draws this visual as a mask.

findVisuals
void findVisuals(weak_vector!Visual visuals, bool recurseDelegates, bool append)

Requests that the list gather sub-visuals to be rendered, if applicable.

Meta