A3DGraphCameraCreate

A3DStatus A3DGraphCameraCreate(const A3DGraphCameraData *pData, A3DGraphCamera **ppCamera)
A3DStatus A3DGraphCameraCreate(const A3DGraphCameraData* pData, A3DGraphCamera** ppCamera)

Creates a new camera entity, returning its handle.

2.0

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

Parameters

pData: The data used for camera creation.

ppCamera: An address to the new handle after creation.

Returns

A3D_SUCCESS or an error code in case of failure.