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