|
Call this function to write a collision object to a file stored in memory.
Call TA::CollisionObject::Serialisable() to check if an object inherited from CollisionObject can be read and written to file. - Parameters:
-
| pFileData |
| | A pointer the the area in memory to save the object to. |
| nSizeInBytes |
| | The size of the memory area in bytes. The size needed can be calculated with TA::CollisionObject::CalculateFileSize. |
- Returns:
- Returns
true on success.
- See also:
- TA::CollisionObject::InitialiseFromFile, TA::CollisionObject::SaveToFile, TA::CollisionObject::InitialiseFromFileInMemory and TA::CollisionObject::CalculateFileSize.
|