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

void TA::Physics::RemoveSurfaceAttribute (
int   nIndex  )
 

Call this function to remove a surface attribute.

Warning:
Any surface attributes with a higher index then the surface attribute being remove will have there index shifted down by one after the call to this function. Since references to surface attributes are stored by index in collision data, some care needs to be taken when using this function. See TA::SurfaceAttribute for details.
Parameters:
nIndex
The index of the surface attribute to be removed.
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.