A3DGlobalData
-
struct
A3DGlobalData Global data structure.
2.0RGB colors: the size is
m_uiColorsSize; to access the content data, useA3DGlobalGetGraphRgbColorData(); to create, useA3DGlobalInsertGraphRgbColor();Pictures: the size is
m_uiPicturesSize; to access the content data, useA3DGlobalGetGraphPictureData(); to create, useA3DGlobalInsertGraphPicture()Texture Definitions: the size is
m_uiTextureDefinitionsSize; To access the content data, useA3DGlobalGetGraphTextureDefinitionData(); to create, useA3DGlobalInsertGraphTextureDefinition()Materials: material is a generic type for two kind of data:
A3DGraphMaterialDataandA3DGraphTextureApplicationData. The size of the array ism_uiMaterialsSize. To get the type of the data, useA3DGlobalIsMaterialTexture(). To access the content data, useA3DGlobalGetGraphMaterialData()orA3DGlobalGetGraphTextureApplicationData(); to create, useA3DGlobalInsertGraphMaterial()orA3DGlobalInsertGraphTextureApplication()Line Patterns: the size is
m_uiLinePatternsSize; To access the content data, useA3DGlobalGetGraphLinePatternData(); to create, useA3DGlobalInsertGraphLinePattern()Display Styles: The size is
m_uiStylesSize; To access the content data, useA3DGlobalGetGraphStyleData(); to create, useA3DGlobalInsertGraphStyle()Fill Patterns: This is a generic type for several kind of data. The size of the array is
m_uiFillPatternsSize. To determine the type of the data, use theA3DGlobalGetFillPatternType()function. To access the content data, use the dedicated function for the pattern. The form for such functions isA3DGlobalGetGraphXXXPatternData, whereXXXis replaced with type of pattern. To set the content data, use the dedicated function for the pattern. The form for such functions isA3DGlobalInsertGraphXXXPattern.a3d_graphics
The access functions
A3DGlobalGetGraphXXXDataandA3DGlobalInsertGraphXXXare used with indexes instead of pointers.Call the
A3DGlobalGetXXXDatafunction with default index to free the data structure.
This structure holds the sizes of stored graphical parameters for the current
A3DAsmModelFileentity. Graphical parameters are stored as arrays of following data:
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