A3DGlobalData

struct A3DGlobalData

Global data structure.

2.0

This structure holds the sizes of stored graphical parameters for the current:c:type:~A3DAsmModelFileentity. Graphical parameters are stored as arrays of following data:

  • RGB colors: the size is:c:member:m_uiColorsSize <A3DGlobalData.m_uiColorsSize>; to access the content data, use:c:func:~A3DGlobalGetGraphRgbColorData; to create, use:c:func:~A3DGlobalInsertGraphRgbColor;

  • Pictures: the size is:c:member:m_uiPicturesSize <A3DGlobalData.m_uiPicturesSize>; to access the content data, use:c:func:~A3DGlobalGetGraphPictureData; to create, use:c:func:~A3DGlobalInsertGraphPicture

  • Texture Definitions: the size is:c:member:m_uiTextureDefinitionsSize <A3DGlobalData.m_uiTextureDefinitionsSize>; To access the content data, use:c:func:~A3DGlobalGetGraphTextureDefinitionData; to create, use:c:func:~A3DGlobalInsertGraphTextureDefinition

  • Materials: material is a generic type for two kind of data:A3DGraphMaterialDataand:c:struct:~A3DGraphTextureApplicationData. The size of the array is:c:member:m_uiMaterialsSize <A3DGlobalData.m_uiMaterialsSize>. To get the type of the data, use:c:func:~A3DGlobalIsMaterialTexture. To access the content data, use:c:func:~A3DGlobalGetGraphMaterialDataor:c:func:~A3DGlobalGetGraphTextureApplicationData; to create, use:c:func:~A3DGlobalInsertGraphMaterialor:c:func:~A3DGlobalInsertGraphTextureApplication

  • Line Patterns: the size is:c:member:m_uiLinePatternsSize <A3DGlobalData.m_uiLinePatternsSize>; To access the content data, use:c:func:~A3DGlobalGetGraphLinePatternData; to create, use:c:func:~A3DGlobalInsertGraphLinePattern

  • Display Styles: The size is:c:member:m_uiStylesSize <A3DGlobalData.m_uiStylesSize>; To access the content data, use:c:func:~A3DGlobalGetGraphStyleData; to create, use:c:func:~A3DGlobalInsertGraphStyle

  • Fill Patterns: This is a generic type for several kind of data. The size of the array is:c:member:m_uiFillPatternsSize <A3DGlobalData.m_uiFillPatternsSize>.To determine the type of the data, use the:c:func:~A3DGlobalGetFillPatternTypefunction.To access the content data, use the dedicated function for the pattern. The form for such functions is``A3DGlobalGetGraphXXXPatternData``, where``XXX``is replaced with type of pattern.To set the content data, use the dedicated function for the pattern. The form for such functions is``A3DGlobalInsertGraphXXXPattern``.

    a3d_graphics

    The access functions``A3DGlobalGetGraphXXXData``and``A3DGlobalInsertGraphXXX``are used with indexes instead of pointers.

    Call the``A3DGlobalGetXXXData``function with default index to free the data structure.

Variables

A3DUns32 A3DGlobalData.m_uiColorsSize

Number of RGB colors.

A3DUns32 A3DGlobalData.m_uiPicturesSize

Number of Pictures.

A3DUns32 A3DGlobalData.m_uiTextureDefinitionsSize

Number of Texture definitions.

A3DUns32 A3DGlobalData.m_uiMaterialsSize

Number of Materials.

A3DUns32 A3DGlobalData.m_uiLinePatternsSize

Number of LinePatterns.

A3DUns32 A3DGlobalData.m_uiStylesSize

Number of Styles.

A3DUns32 A3DGlobalData.m_uiFillPatternsSize

Number of FillPatterns.

A3DUns32 A3DGlobalData.m_uiUnitsSize

Number of Units.

12.1