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

void TA::Physics::SetDefaultSurfaceAttribute (
SurfaceAttribute *   pSurfaceAttribute  )
 

Call this function to set the default surface attribute properties. Alternately, TA::Physics::GetDefaultSurfaceAttribute() can be called to get a reference to the default. Individual properties can then be set through the reference. 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. See TA::SurfaceAttribute for details.
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.