C4 Engine
C4 Engine API Documentation

Node::GetNodePosition

Defined in:  C4Node.h
Returns a node's local position.
Prototype

const Point3D& GetNodePosition(voidconst;

Description
The GetNodePosition function returns a node's local position. This position represents the origin of the node in the coordinate system of the node's immediate parent node. To retrieve the world-space position, call the Transformable::GetWorldPosition function.
See Also

Node::SetNodePosition

Node::GetNodeTransform

Transformable::GetWorldPosition

Point3D