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

int TA::Physics::AddSurfaceAttribute (  )
 

Call this function to add a new surface attribute. The new surface attribute will be given default values. See TA::SurfaceAttribute for details.

Returns:
The index of the new surface attribute. Call the function TA::Physics::GetSurfaceAttribute() with the index as the parameter to get a reference to the TA::SurfaceAttribute containing the data for the new surface attribute.
See also:
TA::Physics::AddSurfaceAttribute(SurfaceAttribute*), TA::Physics::AddSurfaceAttribute(), TA::Physics::RemoveSurfaceAttribute(), TA::Physics::GetSurfaceAttribute(), TA::Physics::GetNumSurfaceAttributes(), TA::Physics::SetDefaultSurfaceAttribute(), TA::Physics::GetDefaultSurfaceAttribute(), TA::Collision and TA::CollisionObjectAABBMesh::AddPolygon.



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