6
Chapter 1: Getting Started with Cosmo 3D
Single-Item and Multi-Item Fields
Each field contains either a single value of a simple data type, such as a float, or a group
of values, all of simple data types.
• Single Item Fields—Single-valued field types, including SFDouble, SFEnum,
SFRef, SFString, SFInt, SFFloat, SFVec2f, SFVec3f, SFVec4f, SFBitMask, SFName,
SFMatrix4f, SFRotation.
• Multiple Item Fields—Multi-valued field types, including MFRef, MFString,
MFInt, MFFloatMFMatrix4f, MFVec2f, MFVec3f, MFVec4f, MFRotation.
For more information about single- and multi-item fields, see “Setting the Values in
Scene Graph Nodes” on page 61.
The csNode Class
All Cosmo 3D scene graph components, except leaf objects, such as csGeometry, are
derived from csNode. csNode, a subclass of csContainer, maintains a bounding sphere
for the geometry and the descendant geometry associated with a csNode-type object,
such as csGroup.
csNode is the fundamental object to which csActions are applied.
For more information about leaf objects, see “Leaf Nodes” on page 57.
For more information about bounding spheres, see “Bounding Volumes” on page 187.