Enumerator | Functions

IParticleChannelInt.h

Functions

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

Function Documentation

int 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

int 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(PARTICLECHANNELINTR_INTERFACE); }
BEGIN_FUNCTION_MAP VFN_2 ( kSetValue  ,
SetValue  ,
TYPE_INT  ,
TYPE_INT   
) [inherited]
VFN_1 ( kSetValueGlobal  ,
SetValue  ,
TYPE_INT   
) [inherited]
void SetValue ( int  index,
int  value 
) [pure virtual, inherited]

set property for particle with index

void SetValue ( int  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(PARTICLECHANNELINTW_INTERFACE); }