![]() |
Public API Reference |
![]() |
This effector will create and attach a iLight to each particle of the system. More...
#include <imesh/particles.h>
Public Member Functions | |
virtual float | GetInitialCutoffDistance () const =0 |
Get the initial cutoff distance of the lights. | |
virtual void | SetInitialCutoffDistance (float distance)=0 |
Set the initial cutoff distance of the lights. |
This effector will create and attach a iLight to each particle of the system.
The position, orientation, base and specular colors of each light will be copied from the particle it is attached to, while its cutoff distance will be modified by the alpha value of the particle's color.
Definition at line 1023 of file particles.h.
virtual float iParticleBuiltinEffectorLight::GetInitialCutoffDistance | ( | ) | const [pure virtual] |
Get the initial cutoff distance of the lights.
virtual void iParticleBuiltinEffectorLight::SetInitialCutoffDistance | ( | float | distance | ) | [pure virtual] |
Set the initial cutoff distance of the lights.
The actual value for each light will be the value given here, times the alpha component of the particle's color. The initial value is 5.0f.