IParticleChannelInt.h

IParticleChannelInt.h

Module description

Functions

virtual int GetValue (int index) const =0
 Gets a property for the particle by index. More...
 
virtual bool IsGlobal () const =0
 Verifies that the channel is global. More...
 
virtual int GetValue () const =0
 If the channel is global, returns the global value. More...
 
FPInterfaceDescGetDesc ()
 
virtual void SetValue (int index, int value)=0
 Sets a property for particle by index. More...
 
virtual void SetValue (int value)=0
 Sets a property for all particles at once, thus making the channel global. More...
 
FPInterfaceDescGetDesc ()
 

Function Documentation

int GetValue ( int  index) const
pure virtual

Gets a property for the particle by index.

bool IsGlobal ( ) const
pure virtual

Verifies that the channel is global.

int GetValue ( ) const
pure virtual

If the channel is global, returns the global value.

If the channel is not global, returns the value of the first particle.

FPInterfaceDesc * GetDesc ( )
inlinevirtual
Remarks
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.

#define PARTICLECHANNELINTR_INTERFACE
Definition: IParticleChannelInt.h:20
virtual FPInterfaceDesc * GetDescByID(Interface_ID id)
Definition: ifnpub.h:613
void SetValue ( int  index,
int  value 
)
pure virtual

Sets a property for particle by index.

void SetValue ( int  value)
pure virtual

Sets a property for all particles at once, thus making the channel global.

FPInterfaceDesc * GetDesc ( )
inlinevirtual
Remarks
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.

#define PARTICLECHANNELINTW_INTERFACE
Definition: IParticleChannelInt.h:21
virtual FPInterfaceDesc * GetDescByID(Interface_ID id)
Definition: ifnpub.h:613