Solo

A node which only allows a single child node to be displayed at a time.

Constructors

this
this(Node parent)

Constructs a new Solo node.

this
this(GUID guid, Node parent)

Constructs a new Solo node.

Members

Functions

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.

onPreUpdate
void onPreUpdate(DrawList drawList)

Called during the early update phase of a new frame.

Properties

activeLayer
Node activeLayer [@property getter]

The active layer that will be rendered.

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.

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