Previous Up Next

M3setParticleColors
Changes the table of colors of a particle type.

I M3setParticleColors (
S3d _session_
HPart3d _part_
[[I F] r1] _list_
)
Parameters

_session_
3D Session
_part_
Type of particle
_list_
List of tuples in which the first element is the color in hexadecimal (RGBA) and the second is a percentage of the particle lifespan
Return value

Number of colors
See Also

M3getParticleColors