#include <FCDPhysicsMaterial.h>
Inheritance diagram for FCDPhysicsMaterial:
Public Member Functions | |
FCDPhysicsMaterial (FCDocument *document) | |
Constructor. | |
virtual | ~FCDPhysicsMaterial () |
Destructor. | |
virtual Type | GetType () const |
Retrieves the entity type for this class. | |
float | GetStaticFriction () const |
Retrieves the static friction for this physics material. | |
void | SetStaticFriction (float _staticFriction) |
Sets the static friction for this physics material. | |
float | GetDynamicFriction () const |
Retrieves the dynamic friction for this physics material. | |
void | SetDynamicFriction (float _dynamicFriction) |
Sets the dynamic friction for this physics material. | |
float | GetRestitution () const |
Retrieves the restitution for this physics material. | |
void | SetRestitution (float _restitution) |
Sets the restitution for this physics material. | |
virtual FCDEntity * | Clone (FCDEntity *clone=NULL, bool cloneChildren=false) const |
Copies the physics material into a clone. |
A physics material contains physical properties for an object. Because there isn't anything interesting in the physics material instance, this class is used to represent that as well.
|
Constructor.
|
|
Copies the physics material into a clone.
Reimplemented from FCDEntity. |
|
Retrieves the dynamic friction for this physics material.
|
|
Retrieves the restitution for this physics material.
|
|
Retrieves the static friction for this physics material.
|
|
Retrieves the entity type for this class. This function is part of the FCDEntity interface.
Reimplemented from FCDEntity. |
|
Sets the dynamic friction for this physics material.
|
|
Sets the restitution for this physics material.
|
|
Sets the static friction for this physics material.
|