
####################
A3DGraphSpotLightGet
####################

.. c:function:: A3DStatus A3DGraphSpotLightGet(const A3DGraphSpotLight *pLight, A3DGraphSpotLightData *pData)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DGraphSpotLightGet(*const* :c:type:`~A3DGraphSpotLight`\ \* **pLight**\ , :c:struct:`~A3DGraphSpotLightData`\ \* **pData**\ )
   
   Fetches data from a spotlight source entity given its handle.
   
   
      :c:struct:`~A3DGraphSpotLightData`
   
   
   
      :c:func:`~A3DGraphSpotLightCreate`
   
   
   
      :c:struct:`~A3DGraphAmbientLightData`
   
   
   
      :c:struct:`~A3DGraphDirectionalLightData`
   
   
   
      :c:struct:`~A3DGraphPointLightData`
   
   
   
      :c:struct:`~A3DGraphSceneDisplayParametersData`
   
   
   **Parameters**
   
   
      **pLight**\ : A handle to the light to fetch data from.
   
      **pData**\ : The ``A3DGraphSpotLightData``\ to fill in.
   
   
   **Returns**
   
   
      ``A3D_SUCCESS``\ or an error code in case of failure.
   
   




