Skip to content
lsl.devlsl.devLSL Dev

ParticleBlendFunc

Constants in the ParticleBlendFunc enum.

All constant groups

At a glance, from the LSL definitions
integer PSYS_PART_BF_DEST_COLOR = 2;  // Scales the RGBA values by the RGBA values of the destination.integer PSYS_PART_BF_ONE = 0;  // PSYS_PART_BF_ONEinteger PSYS_PART_BF_ONE_MINUS_DEST_COLOR = 4;  // Scales the RGBA values by the inverted RGBA values of the destination.integer PSYS_PART_BF_ONE_MINUS_SOURCE_ALPHA = 9;  // Scales the RGBA values by the inverted alpha values of the particle source.integer PSYS_PART_BF_ONE_MINUS_SOURCE_COLOR = 5;  // Scales the RGBA values by the inverted RGBA values of the particle source.integer PSYS_PART_BF_SOURCE_ALPHA = 7;  // Scales the RGBA values by the alpha values of the particle source.integer PSYS_PART_BF_SOURCE_COLOR = 3;  // Scales the RGBA values by the RGBA values of the particle source.integer PSYS_PART_BF_ZERO = 1;  // Zeros out the source or destination RGBA values.

Constants

ConstantTypeValueDescription
PSYS_PART_BF_DEST_COLORinteger2Scales the RGBA values by the RGBA values of the destination.
PSYS_PART_BF_ONEinteger0PSYS_PART_BF_ONE
PSYS_PART_BF_ONE_MINUS_DEST_COLORinteger4Scales the RGBA values by the inverted RGBA values of the destination.
PSYS_PART_BF_ONE_MINUS_SOURCE_ALPHAinteger9Scales the RGBA values by the inverted alpha values of the particle source.
PSYS_PART_BF_ONE_MINUS_SOURCE_COLORinteger5Scales the RGBA values by the inverted RGBA values of the particle source.
PSYS_PART_BF_SOURCE_ALPHAinteger7Scales the RGBA values by the alpha values of the particle source.
PSYS_PART_BF_SOURCE_COLORinteger3Scales the RGBA values by the RGBA values of the particle source.
PSYS_PART_BF_ZEROinteger1Zeros out the source or destination RGBA values.