The Nebula Device 3: Particles::EmitterAttrs Class Reference

The Nebula Device 3

Particles::EmitterAttrs Class Reference

#include <emitterattrs.h>


Detailed Description

A container for particle emitter attributes.

(C) 2008 Radon Labs GmbH

Public Types

enum  FloatAttr
 scalar attributes
enum  BoolAttr
 boolean attributes
enum  IntAttr
 integer attributes
enum  EnvelopeAttr
 scalar envelope attributes

Public Member Functions

 EmitterAttrs ()
 constructor
void SetFloat (FloatAttr key, float value)
 set float attribute
float GetFloat (FloatAttr key) const
 get float attribute
void SetBool (BoolAttr key, bool value)
 set bool attribute
bool GetBool (BoolAttr key) const
 get bool attribute
void SetInt (IntAttr key, int value)
 set int attribute
int GetInt (IntAttr key) const
 get int attribute
void SetEnvelope (EnvelopeAttr key, const EnvelopeCurve &value)
 set envelope attribute
const EnvelopeCurveGetEnvelope (EnvelopeAttr key) const
 get envelope attribute