iParticleBuiltinEffectorLight Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
iParticleBuiltinEffectorLight Struct Reference
Mesh plugins

This effector will create and attach a iLight to each particle of the system. More...

`#include <imesh/particles.h>`

Inheritance diagram for iParticleBuiltinEffectorLight:

List of all members.

## 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.

## Detailed Description

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.

## Member Function Documentation

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.

The documentation for this struct was generated from the following file:

- imesh/particles.h