Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ParticleJoint Class Reference

Joint type that controls a feature of a particle system. More...

#include <joint.h>

Inheritance diagram for ParticleJoint::

PropertyJoint Joint List of all members.

Public Methods

 ParticleJoint (PuppetProperty aP, VECTOR_TYPE vBegin, VECTOR_TYPE vEnd, string &n, VECTOR_TYPE sup, void *pD)
uint16 JointType (void)
 Returns id of ParticleJoint. More...

void SetValue (float newValue)
 Sets the value of the property. More...


Detailed Description

Joint type that controls a feature of a particle system.

ParticleJoint is derived from PropertyJoint, but unlike its superclass, ParticleJoint doesn't modify in-game values, but rather the collected properties of a particle system puppet. Obviously this joint only makes sense when applied to a PSystemPuppet or anything derived from it.


Member Function Documentation

uint16 ParticleJoint::JointType void    [virtual]
 

Returns id of ParticleJoint.

Returns:
an integer reporting the joint type.
For ParticleJoint, the JointType function returns PARTICLEJOINT_NUM.

Reimplemented from PropertyJoint.

void ParticleJoint::SetValue float    newValue [virtual]
 

Sets the value of the property.

Parameters:
newValue  a float between -100 and 100, inclusive.
In SetValue, newValue is used to determine where in the range between the two vectors valueBeginRange and valueEndRange value is placed. The interpolation between the two is simply linear at this point, though the interpolation style might be a useful thing to control in future versions.

Reimplemented from PropertyJoint.


The documentation for this class was generated from the following file:
Generated on Tue Oct 16 13:42:10 2001 for The Stage by doxygen1.2.11 written by Dimitri van Heesch, © 1997-2001