3ds Max C++ API Reference
Loading...
Searching...
No Matches
IParticleChannelFloat.h

Functions

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

Detailed Description

Function Documentation

◆ GetValue() [1/2]

virtual float GetValue ( int index) const
pure virtual

Gets a property for a particle by index.

◆ IsGlobal()

virtual bool IsGlobal ( ) const
pure virtual

Verifies that the channel is global.

◆ GetValue() [2/2]

virtual float GetValue ( ) const
pure virtual

If the channel is global, returns the global value.

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

◆ GetDesc() [1/2]

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

Implements FPInterface.

#define PARTICLECHANNELFLOATR_INTERFACE
Definition IParticleChannelFloat.h:20
virtual FPInterfaceDesc * GetDescByID(Interface_ID id)
Definition ifnpub.h:619

◆ SetValue() [1/2]

virtual void SetValue ( int index,
float value )
pure virtual

Sets a property for the particle with the specified index.

◆ SetValue() [2/2]

virtual void SetValue ( float value)
pure virtual

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

◆ GetDesc() [2/2]

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

Implements FPInterface.

#define PARTICLECHANNELFLOATW_INTERFACE
Definition IParticleChannelFloat.h:21