# A3DGraphAmbientLightCreate

A3DStatus `A3DGraphAmbientLightCreate`(const A3DGraphAmbientLightData *pData, A3DGraphAmbientLight **ppLight)
  `A3DStatus` A3DGraphAmbientLightCreate(const `A3DGraphAmbientLightData`* pData, `A3DGraphAmbientLight`** ppLight)

  Creates a new ambient light source entity, returning its handle.

  > 2.0

  Once created, the new light entity can be referenced to by its handle, given by `*ppLight`. In case of failure, `*ppLight`is unchanged.

  > `A3DGraphAmbientLightData`

  > `A3DGraphAmbientLightGet()`

  > `A3DGraphDirectionalLightData`

  > `A3DGraphPointLightData`

  > `A3DGraphSpotLightData`

  > `A3DGraphSceneDisplayParametersData`

  Parameters

  > pData: The data used for light creation.

  > ppLight: An address to the new handle after creation.

  Returns

  > `A3D_SUCCESS`or an error code in case of failure.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...