GalaxyGas

Derived Node created based on datafiles. Can be cast to and from a Node@.

Members

Methods

void set_object( Object@ arg0 )

Changes the node's associated object. This is an asynchronous call.

void markForDeletion( )

Flags the node for destruction, removing it from the node tree and destroying it some time in the future.

void createPhysics( )

Gives the node a physics representation in the node physics world.

void rebuildTransform( )

Recalculates the node's absolute position, scale, and rotation.

void set_transparent( bool arg0 )

Sets whether the node should be treated as transparent.

void set_memorable( bool arg0 )

Sets whether the node should be visible when the associated object is only remembered.

void set_animInvis( bool arg0 )

Sets whether the node should call preRender when invisible.

void set_autoCull( bool arg0 )

Sets whether the node should be automatically culled based on the camera view frustum.

void set_fixedSize( bool arg0 )

Sets whether the node is a fixed apparent size. Disables cone behavior in node searches.

void set_customColor( bool arg0 )

Sets whether this node should not receive its object's empire's color.

void set_needsTransform( bool arg0 )

Sets whether the node should build its matrix when the transform is updated (e.g. for applyTransform).

void applyTransform( )

Applies the node's position, scale, and rotation to the model transform.

void render( )

Renders the node and its children.

void animate( double seconds )

Animates the node and its children.

bool isInView( ) const

Returns true if the node's bounding sphere is within the camera's view frustum.

void hintParentObject( Object@ obj, bool checkDistance = true )

Hint that this node should be parented to an object's node.