part_deflector_exists - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Gets whether or not the given particle deflector exists in the given particle system and returns the result.
Parameter | Data Type | Description |
---|---|---|
sys | integer | index of the particle system |
ind | integer | index of the particle deflector |
boolean: Returns whether the particle deflector exists in the particle system.
// demonstrates checking if a particle deflector exists
if (part_deflector_exists(sys, attr)) {
// deflector does exist
} else {
// deflector does not exist
}
NOTOC