
########################
A3DGraphAmbientLightData
########################

.. c:struct:: A3DGraphAmbientLightData

   Data for an ambient light source entity.
   
   
      2.0
   
   
   An ambient light simulates lighting that bounces everywhere and thus comes from no specific location. Ambient lights illuminate every face of an object regardless of their position or orientation.
   
   All colors within this structure are global indexes to RGB color codes. The actual values can be queried using ``A3DGlobalGetGraphRgbColorData``\ .
   
   ``A3DGraphAmbientLightData``\ is one of the four light source types provided by HOOPS. It is associated to the ``kA3DTypeGraphAmbientLight``\ entity type. The other available light sources are ``A3DGraphPointLightData``\ , ``A3DGraphSpotLightData``\ and ``A3DGraphDirectionalLightData``\ .
   
   
      :c:func:`~A3DGlobalGetGraphRgbColorData`
   
   
   
      :c:func:`~A3DGlobalInsertGraphRgbColor`
   
   
   
      :c:struct:`~A3DGraphRgbColorData`
   
   
   
      :c:struct:`~A3DGraphMaterialData`
   
   
   
      :c:struct:`~A3DGraphDirectionalLightData`
   
   
   
      :c:struct:`~A3DGraphPointLightData`
   
   
   
      :c:struct:`~A3DGraphSpotLightData`
   
   
   
   Index
   =====
   
   .. rubric:: Variables
   
   
   .. rst-class:: api-xref-list
   
   
   * :c:member:`~A3DGraphAmbientLightData.m_uiAmbientColorIndex`
   * :c:member:`~A3DGraphAmbientLightData.m_uiDiffuseColorIndex`
   * :c:member:`~A3DGraphAmbientLightData.m_uiSpecularColorIndex`
   
   



.. rst-class:: kind-group kind-variable

.. rubric:: Variables
   :class: kind-group-title


.. c:member:: A3DUns32 A3DGraphAmbientLightData.m_uiAmbientColorIndex

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUns32`
      
      The main or ambient color of the light source.
      



.. c:member:: A3DUns32 A3DGraphAmbientLightData.m_uiDiffuseColorIndex

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUns32`
      
      The diffuse color of the light source.
      



.. c:member:: A3DUns32 A3DGraphAmbientLightData.m_uiSpecularColorIndex

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DUns32`
      
      The specular color of the light source.
      




