|
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.
|