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

int TA::Physics::AddSurfaceAttribute (
SurfaceAttribute *   pSurfaceAttribute  )
 

Call this function to add a new surface attribute. See TA::SurfaceAttribute for details.

Parameters:
pSurfaceAttribute
The properties of the new surface attribute will be taken for pSurfaceAttribute. This function does copies the data pointed to by pSurfaceAttribute rather then storing the pointer.
Returns:
The index of 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.