3ds Max C++ API Reference
|
Functions | |
virtual int | Count () const =0 |
Particle count management; number of particles in the channel. More... | |
FPInterfaceDesc * | GetDesc () |
virtual void | ZeroCount ()=0 |
set number of particles in the channel to zero More... | |
virtual bool | SetCount (int n)=0 |
set number of particles in the channel to n More... | |
virtual int | Delete (int start, int num)=0 |
Delete num particles from start index. More... | |
virtual int | Delete (BitArray &toRemove)=0 |
Delete particles according to the BitArray (bit set == remove). More... | |
virtual IObject * | Split (BitArray &toSplit)=0 |
To new "split" particle channel. More... | |
virtual bool | Spawn (Tab< int > &spawnTable)=0 |
Spawn particles according to the spawnTable. More... | |
virtual bool | AppendNum (int num)=0 |
Append num particles to the channel(s). More... | |
virtual bool | Append (IObject *obj)=0 |
Append all particles of another channel/container, then the input channel/container is deleted. More... | |
virtual void | ResetAddedAmount () |
For internal use; no need to implement. More... | |
virtual int | GetAddedAmount () |
For internal use; no need to implement. More... | |
FPInterfaceDesc * | GetDesc () |
|
pure virtual |
Particle count management; number of particles in the channel.
|
inlinevirtual |
Implements FPInterface.
|
pure virtual |
set number of particles in the channel to zero
|
pure virtual |
set number of particles in the channel to n
Delete num particles from start index.
Returns number of particles left in the channel.
Delete particles according to the BitArray (bit set == remove).
Returns number of particles left in the channel
To new "split" particle channel.
Returns new particle channel; IObject type is chosen to be compatible with the available return types. All "bit-set" particles are moved.
Spawn particles according to the spawnTable.
Returns true if the operation is successful. Size of the table equals to number of particles in the channel. Table value is how many particles are cloned from the index particle.
|
pure virtual |
Append num particles to the channel(s).
Returns true if the operation is successful.
|
pure virtual |
Append all particles of another channel/container, then the input channel/container is deleted.
Returns true if the operation is successful.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements FPInterface.