A3DGraphAmbientLightCreate
-
A3DStatus
A3DGraphAmbientLightCreate(const A3DGraphAmbientLightData *pData, A3DGraphAmbientLight **ppLight) A3DStatusA3DGraphAmbientLightCreate(constA3DGraphAmbientLightData* pData,A3DGraphAmbientLight** ppLight)Creates a new ambient light source entity, returning its handle.
2.0Once created, the new light entity can be referenced to by its handle, given by``*ppLight``. In case of failure,``*ppLight``is unchanged.
Parameters
pData: The data used for light creation.
ppLight: An address to the new handle after creation.
Returns
A3D_SUCCESSor an error code in case of failure.