CGPdocs

hierarchy_mesh_drawable_node

One element of a hierarchy_mesh_drawable (drawable, parent name, local and global transforms).

Fields and methods

Members of the struct hierarchy_mesh_drawable_node. Most of what you do with a CGP type goes through the free functions listed below.

Fields

mesh_drawable drawableMesh drawable of the node, whose hierarchy_transform_model receives the global transform of the node.
std::string name = "uninitialized"Unique name of the node in the hierarchy, uninitialized by default.
std::string name_parent = "global_frame"Name of the parent node, global_frame by default for a root node.
affine_rts transform_localTransform of the node relative to its parent (rotation, translation, uniform scaling).

Functions taking a hierarchy_mesh_drawable_node

None.

Functions returning a hierarchy_mesh_drawable_node

None.

Operators

None.

CGP - Computer Graphics Programming.