Enumerator | Functions

IParticleChannelVoid.h

Functions

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

Function Documentation

void * 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

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

set property for particle with index

void SetValue ( void *  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(PARTICLECHANNELVOIDW_INTERFACE); }