A3DGlobalGetGraphStyleData
-
A3DStatus
A3DGlobalGetGraphStyleData(const A3DUns32 uiIndexStyle, A3DGraphStyleData *pData) Retrieves an indexed graph style.
2.0HOOPS stores styles in a global state using indexes. When given an index, you may call
A3DGlobalGetGraphStyleDatato fill in anA3DGraphStyleDatainstance.//Retrievesthegraphstyleatindex3.Useinitializedstyleasdefault: A3DGraphStyleDatastyle; A3D_INITIALIZE_DATA(A3DGraphStyleData,style); A3DStatusresult=A3DGlobalGetGraphStyleData(3,&style); assert(result==A3D_SUCCESS);
Parameters
uiIndexStyle: The index of the style to retrieve data from
pData: The
A3DGraphRgbColorDatato fill in.Returns
A3D_SUCCESSor an error code in case of failure.