A3DRootBaseAttributeAdd

A3DStatus A3DRootBaseAttributeAdd(A3DRootBase *pEntity, A3DUTF8Char *pcTitle, A3DUTF8Char *pcValue)
A3DStatus A3DRootBaseAttributeAdd(A3DRootBase* pEntity, A3DUTF8Char* pcTitle, A3DUTF8Char* pcValue)

Add an attribute to the current attribute array stored in a PRC entity.

11.1

Return Values

A3D_INVALID_DATA_STRUCT_SIZE:

A3D_INVALID_DATA_STRUCT_NULL:

A3D_BASE_BAD_ENTITY_TYPE:

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