A3DRootBaseSet

A3DStatus A3DRootBaseSet(A3DRootBase *pRootBase, const A3DRootBaseData *pData)
A3DStatus A3DRootBaseSet(A3DRootBase* pRootBase, const A3DRootBaseData* pData)

Adds an A3DRootBaseData structure to an existing PRC entity.

According to what is defined in the parameter pData, the A3DEntity will be updated.

Return Values

A3D_INVALID_DATA_STRUCT_SIZE:

A3D_INVALID_DATA_STRUCT_NULL:

A3D_SUCCESS:

A3DRootBase is an abstract class and cannot be directly created; however, any entity created with a function of the form A3DEntity_nameCreate results in the creation of a PRC entity of type A3DRootBase and of type A3DEntity_name.

Returns

A3D_SUCCESS on success, or an error code on failure