StrategicIconNode
Derived Node created based on datafiles. Can be cast to and from a Node@.
Members
-
Colorf
color
— Color of the node (Owner color for bound nodes).
-
vec3d
position
— Position relative to the parent.
-
double
scale
— Scale relative to the parent.
-
double
sortDistance
— Distance to the camera for sorting.
-
quaterniond
rotation
— Rotationg relative to the parent.
-
vec3d
abs_position
— Absolute position.
-
double
abs_scale
— Absolute scale.
-
quaterniond
abs_rotation
— Absolute rotation.
-
bool
visible
— Determines if the node is rendered when otherwise visible.
-
bool
remembered
— For memorable nodes, tracks whether the associated objects is remembered.
-
Node@
parent
— Parent node in the node tree.
void
markForDeletion(
)
Flags the node for destruction, removing it from the node tree and destroying it some time in the future.
void
hintParentObject(
Object@
obj,
bool
checkDistance = true
)
Hint that this node should be parented to an object's node.
-
Object@
obj — Whether to check whether the node is fully contained or assume it is.
-
bool
checkDistance — Object to hint for.