File : API\scene\zmSceneTypes.h Namespace : scene
When you modify the node, or it's internal structure (e.g. when editing a geometry of mesh node), when you highlight or select the node or it's elements, node becomes changed from it's previouse state. To reflect these changes, you have to invoke method INode::changed and specify bitwise-or combination of flags which indicates node changes. Bit values and their description follows.
#define NC_GEOMETRY 0x00000001 #define NC_VISUAL 0x00000002 #define NC_CHILD 0x00000004 #define NC_TRANSFORM 0x00000008
Values of NC_CHILD and NC_TRANSFORM are significant for ISkeletonNode, IBoneNode and ILightNode. For the rest of nodes (splines, mesh nodes) NC_GEOMETRY and NC_VISUAL are the most significant bits. Make sure to notify each node you change, so it can get updated correctly.