iPcMeshDeform Struct Reference
Inheritance diagram for iPcMeshDeform:
Public Member Functions | |
| virtual void | DeformMesh (const csVector3 &position, const csVector3 &direction, bool worldspace=false)=0 |
| Deform the mesh. | |
| virtual float | GetDeformFactor ()=0 |
| Get the deformation factor. | |
| virtual float | GetMaxDeform ()=0 |
| Get the random noise on deformation. | |
| virtual float | GetMaxFrequency ()=0 |
| Get the maximum frequency of deformations. | |
| virtual iMeshWrapper * | GetMesh ()=0 |
| Get the mesh to deform. | |
| virtual float | GetNoise ()=0 |
| Get the random noise on deformation. | |
| virtual float | GetRadius ()=0 |
| Get the radius of influence of a deform. | |
| virtual void | ResetDeform ()=0 |
| Reset the mesh to undeformed state. | |
| virtual void | SetDeformFactor (float deformfactor)=0 |
| Change the deformation factor. | |
| virtual void | SetMaxDeform (float maxdeform)=0 |
| Set the deformation allowed per vertice. | |
| virtual void | SetMaxFrequency (float frequency)=0 |
| Set the maximum number of deforms allowed per second. | |
| virtual void | SetMesh (iMeshWrapper *mesh)=0 |
| Set the mesh to deform. | |
| virtual void | SetNoise (float deformnoise)=0 |
| Change the deformation noise factor, ie the amount of randomness of each deform operation. | |
| virtual void | SetRadius (float radius)=0 |
| Set the radius of influence of a deform. | |
Detailed Description
Definition at line 33 of file meshdeform.h.
Member Function Documentation
| virtual void iPcMeshDeform::DeformMesh | ( | const csVector3 & | position, | |
| const csVector3 & | direction, | |||
| bool | worldspace = false | |||
| ) | [pure virtual] |
Deform the mesh.
| virtual float iPcMeshDeform::GetDeformFactor | ( | ) | [pure virtual] |
Get the deformation factor.
| virtual float iPcMeshDeform::GetMaxDeform | ( | ) | [pure virtual] |
Get the random noise on deformation.
| virtual float iPcMeshDeform::GetMaxFrequency | ( | ) | [pure virtual] |
Get the maximum frequency of deformations.
| virtual iMeshWrapper* iPcMeshDeform::GetMesh | ( | ) | [pure virtual] |
Get the mesh to deform.
| virtual float iPcMeshDeform::GetNoise | ( | ) | [pure virtual] |
Get the random noise on deformation.
| virtual float iPcMeshDeform::GetRadius | ( | ) | [pure virtual] |
Get the radius of influence of a deform.
Default is 1.0
| virtual void iPcMeshDeform::ResetDeform | ( | ) | [pure virtual] |
Reset the mesh to undeformed state.
| virtual void iPcMeshDeform::SetDeformFactor | ( | float | deformfactor | ) | [pure virtual] |
Change the deformation factor.
Higher gives a larger deformation.
| virtual void iPcMeshDeform::SetMaxDeform | ( | float | maxdeform | ) | [pure virtual] |
Set the deformation allowed per vertice.
Default is 0.5
| virtual void iPcMeshDeform::SetMaxFrequency | ( | float | frequency | ) | [pure virtual] |
Set the maximum number of deforms allowed per second.
Defaults to 10. Lower settings may improve performance.
| virtual void iPcMeshDeform::SetMesh | ( | iMeshWrapper * | mesh | ) | [pure virtual] |
Set the mesh to deform.
| virtual void iPcMeshDeform::SetNoise | ( | float | deformnoise | ) | [pure virtual] |
Change the deformation noise factor, ie the amount of randomness of each deform operation.
Default is 0.2
| virtual void iPcMeshDeform::SetRadius | ( | float | radius | ) | [pure virtual] |
Set the radius of influence of a deform.
Default is 1.0
The documentation for this struct was generated from the following file:
- propclass/meshdeform.h
Generated for CEL: Crystal Entity Layer 1.2 by doxygen 1.4.7
