True Axis Physics SDK 1.2.0.1 Beta Documentation
www.trueaxis.com

bool TA::CollisionObject::SaveToFileInMemory (
void *   pFileData,
int   nSizeInBytes
 

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.



© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.