Enumerator | Functions

IParticleChannelBool.h

Functions

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

Function Documentation

bool 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

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

set property for particle with index

void SetValue ( bool  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(PARTICLECHANNELBOOLW_INTERFACE); }