Node reflection

Jump to: navigation, search

Node reflection is a term which refers to the property of Nodes with ghost classes.

For example, say there is a node, node1, of class GUICONTROL, which has fields of SIZE, POSITION, and TEXTURE (among others).

When node1's field data is changed via HSL in the GOM, and its node reflection is set to TRUE, then it will tell its ghost class about the field's value changing. The change in the ghost class would then be reflected in the visualization of the actual GUI Control (meaning it would look to be a different size).

Related functions

Set reflecting

external function SetReflecting(node as NodeRef, reflecting as Boolean) as Boolean

This function takes a node and a boolean argument to determine whether or not Node reflection is enabled for that node. The return value is the previous reflection state.

See also

Personal tools