ColorArray (ParticleCollection)

Description

Returns or sets particle colors as a two-dimensional Array of Doubles. The first dimension contains the red, green, blue and alpha values.

Note: This property uses an optional input argument, which must be handled specially in Python. If you need to specify a particle array, use 'Get' or 'Set' prefixed to the property name and use method-style syntax. For example, 'MyParticleCollection.SetColorArray( MyIDArray, MyColorArray )'

C# Syntax

// get accessor
Object ParticleCollection.get_ColorArray( Object in_vParticleIDArray );

// set accessor
ParticleCollection.set_ColorArray( Object in_vParticleIDArray, Object out_pvColorArray );

Parameters

Parameter

Type

Description

ParticleIDArray

Array

Array of Particle.IDs.

Default Value: If missing, all particles are accessed.



Autodesk Softimage v7.5