A3DGraphicsData

struct A3DGraphicsData

Main description of graphics properties within an``A3DRootBaseWithGraphics``instance.

2.0

The``A3DGraphicsData``structure serves as an entry point for describing all the graphics properties of an``A3DRootBaseWithGraphics``instance.

The structure mainly serves as a container for a style index, defined with``m_uiStyleIndex``. This value is used within``A3DGlobalGetGraphStyleData``to fill in a``A3DGraphStyleData``.

Objects can be organized by assigning them into layers. All the items inside a same layer are processed as a group. A layer is a numeric identifier which is set with``m_uiLayerIndex``. When no specific layer is set,``m_uiLayerIndex``can be``A3D_DEFAULT_LAYER``.

m_usBehaviourdescribes the propagation policy for the graphics properties of the object within a model file.

As initializing the structure is done by calling``A3D_INITIALIZE_DATA``, the operation will set all the fields to zero. The initial value of``m_usBehaviour``will thus hide the object from display.

A3DGraphicsGet()

A3DGraphicsCreate()

A3DEntityDelete()

Variables

A3DUns32 A3DGraphicsData.m_uiLayerIndex

A layer identifier of``A3D_DEFAULT_LAYER``

A3DUns32 A3DGraphicsData.m_uiStyleIndex

An index to a global``A3DGraphStyleData``instance.

A3DUns16 A3DGraphicsData.m_usBehaviour

Graphics properties propagation policy. See:ref:Bit Field for Behavior on Graphics <group__a3d__graphicsbits>.