Enumerator | Functions

IParticleChannelFloat.h

Functions

virtual float  GetValue (int index) const =0
  get property for particle with index
virtual bool  IsGlobal () const =0
  verify if the channel is global
virtual float  GetValue () const =0
  if channel is global returns the global value.
FPInterfaceDesc GetDesc ()
BEGIN_FUNCTION_MAP  VFN_2 (kSetValue, SetValue, TYPE_INT, TYPE_FLOAT)
  VFN_1 (kSetValueGlobal, SetValue, TYPE_FLOAT)
virtual void  SetValue (int index, float value)=0
  set property for particle with index
virtual void  SetValue (float value)=0
  set property for all particles at once thus making the channel global
FPInterfaceDesc GetDesc ()

Function Documentation

float GetValue ( int  index ) const [pure virtual, inherited]

get property for particle with index

bool IsGlobal ( ) const [pure virtual, inherited]

verify if the channel is global

float GetValue ( ) const [pure virtual, inherited]

if channel is global returns the global value.

if channel is not global returns value of the first particle.

FPInterfaceDesc * GetDesc ( ) [inline, virtual, inherited]
Remarks:
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.

{ return GetDescByID(PARTICLECHANNELFLOATR_INTERFACE); }
BEGIN_FUNCTION_MAP VFN_2 ( kSetValue  ,
SetValue  ,
TYPE_INT  ,
TYPE_FLOAT   
) [inherited]
VFN_1 ( kSetValueGlobal  ,
SetValue  ,
TYPE_FLOAT   
) [inherited]
void SetValue ( int  index,
float  value 
) [pure virtual, inherited]

set property for particle with index

void SetValue ( float  value ) [pure virtual, inherited]

set property for all particles at once thus making the channel global

FPInterfaceDesc * GetDesc ( ) [inline, virtual, inherited]
Remarks:
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.

{ return GetDescByID(PARTICLECHANNELFLOATW_INTERFACE); }