The MaxscriptParticleContainer Interface is exposed by Particle Containers and is available in Particle Script handlers.
When set to true, the Time channel will be available for scripting access.
When set to true, the Age channel will be available for scripting access.
When set to true, the Lifespan channel will be available for scripting access.
When set to true, the EventTime channel will be available for scripting access.
When set to true, the Position channel will be available for scripting access.
When set to true, the Speed channel will be available for scripting access.
When set to true, the Acceleration channel will be available for scripting access.
When set to true, the Oritnation channel will be available for scripting access.
When set to true, the Spin channel will be available for scripting access.
When set to true, the Scale channel will be available for scripting access.
When set to true, the TM (Transformation Matrix) channel will be available for scripting access.
When set to true, the Selected channel will be available for scripting access.
When set to true, the Shape channel will be available for scripting access.
When set to true, the Material Index channel will be available for scripting access.
When set to true, the Mapping channel will be available for scripting access.
When set to true, the Integer channel will be available for scripting access.
When set to true, the Float channel will be available for scripting access.
When set to true, the Vector channel will be available for scripting access.
When set to true, the Matrix channel will be available for scripting access.
Get/Set current particle index
Check if particle just arrived into the event
Get/Set the Time of the current particle
Get/Set the Age of the current particle
Get/Set the Lifespan of the current particle
Get/Set for how long the particle is present in the current event
Get/Set the current particle Position
Get/Set the current particle Speed
Get/Set the current particle Acceleration
Get/Set the current particle Orientation
Get/Set the current particle Spin
Get/Set the current particle’s Size
Get/Set the current particle’s Scale
Get/Set the current particle transformation matrix
Get/Set whether the particle is selected.
Store/Retrieve custom integer data per particle.
Get/set the particle's test status.
Get/set the particle's test time.
Store/Retrieve custom float data per particle.
Store/Retrieve custom vector data per particle.
Store/Retrieve custom matrix data per particle.
The particleMatrix channel could be used to store either a matrix3 value or a set of 4 Point3 values, or 12 Float values. This makes it very versatile when a large number of values have to be stored. As noted in the matrix3 chapter, you cannot directly assign values to sub-elements of a matrix3 value. To write a Point3 or Float value to the particleMatrix channel, first store the particleMatrix value in a user variable, assign the Point3 to the respective row of the matrix or the Float value to the.x,.y or.z element of the Point3 and then assign the variable back to the particleMatrix channel.
Get list of all action objects in the action list
Get the start time of the proceed interval
Get the end time of the proceed interval
If it is not possible to proceed all particles to the given timeEnd then set the closest possible time of the proceed interval
Set the end time with higher precision by supplying time and fraction
Get the interface of the procedure that integrates particle motion in time. See Interface: integrator
Get random number from interval [0, 1]
Get random number from interval [-1, 1]
Get random number from interval [-0.5, 0.5]
Get random integer number from interval [0..maxNumber]
Get random 3D point from surface of sphere with radius 1
Get random vector that diverges from the given vector by no more than the specified maxAngle angle
Number of particles in the current event/actionList
Use .particleTime to define when particle is added. Use .particleAge=0 to set particle age to zero. Use other methods to define particle position, speed, orientation etc.
Delete a single particle with the given index
Delete 'amount' particles starting from startIndex
Get the ID of the particle with the given index
particleIndex is In and Out parameter
Verify if the event has a particle with the given ID
If the particle is present then particleIndex is the index of the particle
Check if a particle just arrived into the event
Check if a particle with the given ID just arrived into the event
Get time of the current status of the particle
Get the time of the the particle with the specified ID
Change time of the current status of the particle
Set the time of the indexed particle with sub-frame precision using the frame time and a fraction value.
Set the time of the particle with the specified ID
Set the time of the particle with the specified ID with sub-frame precision by supplying a frame and a fraction value.
Returns the age of the indexed particle.
Returns the age of the particle with the specified ID.
Sets the age of the indexed particle.
Sets the age of the particle with the specified ID.
Returns the lifespan of the indexed particle.
Returns the lifespan of the particle with the specified ID.
Sets the lifespan of the indexed particle to the supplied time value.
Sets the lifespan of the particle with the specified ID to the supplied time value.
Returns the Event time of the indexed particle.
Returns the Event time of the particle with the specified ID.
Sets the Event time of the indexed particle.
Sets the Event time of the particle with the specified ID.
Returns the Position of the indexed particle.
Returns the Position of the particle with the specified ID.
Sets the Position of the indexed particle.
Sets the Position of the particle with the specified ID.
Returns the Speed of the indexed particle.
Returns the Speed of the particle with the specified ID.
Sets the Speed of the indexed particle.
Sets the Speed of the particle with the specified ID.
Returns the Acceleration of the indexed particle.
Returns the Acceleration of the particle with the specified ID.
Sets the Acceleration of the indexed particle.
Sets the Acceleration of the particle with the specified ID.
Returns the Orientation of the indexed particle.
Returns the Orientation of the particle with the specified ID.
Sets the Orientation of the indexed particle.
Sets the Orientation of the particle with the specified ID.
Returns the Spin of the indexed particle.
Returns the Spin of the particle with the specified ID.
Sets the Spin of the indexed particle.
Sets the Spin of the particle with the specified ID.
Returns the Scale of the indexed particle.
Returns the Scale of the particle with the specified ID.
Sets the Scale of the indexed particle.
Sets the Size of the particle with the specified ID.
Returns the Scale of the indexed particle.
Returns the Scale of the particle with the specified ID.
Sets the Scale of the indexed particle.
Sets the Scale of the particle with the specified ID.
Returns the Transformation Matrix of the indexed particle.
Returns the Transformation Matrix of the particle with the specified ID.
Sets the Transformation Matrix of the indexed particle.
Sets the Transformation Matrix of the particle with the specified ID.
Returns the Selected state of the indexed particle.
Returns the Selected state of the particle with the specified ID.
Sets the Selected state of the indexed particle.
Sets the Selected state of the particle with the specified ID.
Returns the shape of the indexed particle as mesh.
Returns the shape of the particle with the specified ID as mesh.
Sets the shape of the indexed particle to the supplied mesh.
Sets the shape of the particle with the specified ID to the supplied mesh.
Sets the shape of all particles to the supplied mesh.
Sets the Material Index of the indexed particle.
Sets the Material Index of the particle with the specified ID
Sets the Material Index of all particles to the specified index value.
Sets the Mapping of the indexed particle to the specified Point3 value.
Sets the Mapping of the particle with the specified ID to the specified Point3 value.
Sets the Mapping of all particles to the specified Point3 value.
Returns the integer channel value of the indexed particle
Returns the integer channel value of the particle with the specified ID
Sets the integer channel value of the indexed particle to the supplied integer value.
Sets the integer channel value of the particle with the specified ID to the supplied integer value.
Returns the float channel value of the indexed particle
Returns the float channel value of the particle with the specified ID
Sets the float channel value of the indexed particle
Sets the float channel value of the particle with the specified ID
Returns the vector channel value of the indexed particle
Returns the vector channel value of the particle with the specified ID
Sets the vector channel value of the indexed particle
Sets the vector channel value of the particle with the specified ID
Returns the matrix channel value of the indexed particle
Returns the matrix channel value of the particle with the specified ID
Sets the matrix channel value of the indexed particle
Sets the matrix channel value of the particle with the specified ID
Sets the Test Status of the indexed particle to the supplied boolean value.
Sets the Test Status of the particle with the specified ID to the supplied boolean value.
Sets the Test Status of all particles to the supplied boolean value.
Sets the Test Time of the indexed particle to the supplied time value.
Sets the sub-frame Test Time of the indexed particle to the supplied time and fraction value.
Sets the Test Time of the particle with the specified ID to the supplied time value.
Sets the sub-frame Test Time of the particle with the specified ID to the supplied time and fraction value.
Sets the Test Time of all particles to the supplied time value.
Sets the sub-frame Test Time of all particles to the supplied time and fraction value.