Part_deflector_exists - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Gets whether or not the given particle deflector exists in the given particle system and returns the result.

Parameters

Parameter Data Type Description
sys integer index of the particle system
ind integer index of the particle deflector

Return Values

boolean: Returns whether the particle deflector exists in the particle system.

Example Call

// demonstrates checking if a particle deflector exists
if (part_deflector_exists(sys, attr)) {
  // deflector does exist
} else {
  // deflector does not exist
}

NOTOC