A3DSurfEvaluateNormal

A3DStatus A3DSurfEvaluateNormal(const A3DSurfBase *pSurf, const A3DVector2dData *pUVParameter, A3DVector3dData *pNormal)
A3DStatus A3DSurfEvaluateNormal(const A3DSurfBase* pSurf, const A3DVector2dData* pUVParameter, A3DVector3dData* pNormal)

Function to evaluate a normal on a surface.

Return Values

A3D_SUCCESS:

A3D_INVALID_DATA_STRUCT_NULL:

A3D_INVALID_DATA_STRUCT_SIZE:

A3D_INVALID_ENTITY_TYPE:

A3D_ERROR:

Parameters

pSurf: The input surface.

pUVParameter: The input UV point to evaluate the normal of the surface.

pNormal: The normal of the surface at the UV parameter.

Returns

A3D_SUCCESS on success, or an error code on failure