
###################################
A3DGlobalGetGraphDottingPatternData
###################################

.. c:function:: A3DStatus A3DGlobalGetGraphDottingPatternData(const A3DUns32 uiIndexDottingPattern, A3DGraphDottingPatternData *pData)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DGlobalGetGraphDottingPatternData(*const* :c:type:`~A3DUns32` **uiIndexDottingPattern**\ , :c:struct:`~A3DGraphDottingPatternData`\ \* **pData**\ )
   
   Retrieves an ``A3DGraphDottingPatternData``\ instance.
   
   
      2.0
   
   
   HOOPS stores pattern information in a global state using indexes. When given an index, call ``A3DGlobalGetGraphDottingPatternData``\ to fill in an ``A3DGraphDottingPatternData``\ instance.
   
   
   ::
   
      //Retrievesthepicturedataatindex3:
      A3DGraphDottingPatternDatapattern_data=A3D_MAKE_DATA(A3DGraphDottingPatternData);
      A3DStatusresult=A3DGlobalGetGraphDottingPatternData(3,&pattern_data);
      assert(result==A3D_SUCCESS);
   
   **Parameters**
   
   
      **uiIndexDottingPattern**\ : The index of the pattern.
   
      **pData**\ : The ``A3DGraphDottingPatternData``\ to fill in.
   
   
   **Returns**
   
   
      ``A3D_SUCCESS``\ or an error code in case of failure.
   
   




