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

bool TA::CollisionObject::SaveToFile (
const Char *   szFileName  )
 

Call this function to write a collision object to a file.

Call TA::CollisionObject::Serialisable() to check if an object inherited from CollisionObject can be read and written to file.

Parameters:
szFileName
A null terminated string holding the path and filename to save to.
Returns:
Returns true on success, false if this the file cannot be opened, or this object is not serialisable.
See also:
TA::CollisionObject::InitialiseFromFile, TA::CollisionObject::InitialiseFromFileInMemory, TA::CollisionObject::SaveToFileInMemory and TA::CollisionObject::CalculateFileSize.



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