3ds Max C++ API Reference
IParticleChannelTabTVFace.h

Functions

virtual bool IsShared () const =0
 Checks whether some particles have shared Tab<TVFace>. More...
 
virtual int GetValueCount () const =0
 Gets the total number of actual Tabs (values) in the channel. More...
 
virtual int GetValueIndex (int particleIndex) const =0
 Gets the value index of a particle. More...
 
virtual const TabTVFaceGetValueByIndex (int valueIndex) const =0
 Gets the Tab of the valueIndex-th value. More...
 
virtual const TabTVFaceGetValue (int particleIndex) const =0
 Gets the Tab for the particle specified by particleIndex. More...
 
virtual const TabTVFaceGetValue () const =0
 Gets the global Tab<TVFace> for all particles. More...
 
FPInterfaceDescGetDesc ()
 
virtual bool SetValue (int particleIndex, const TabTVFace *value)=0
 Copies Tab to be a local value for the particle with index "particleIndex". More...
 
virtual bool SetValue (Tab< int > &particleIndices, const TabTVFace *value)=0
 Copies Tab to be a shared value for particles with indices in "particleIndices". More...
 
virtual bool SetValue (const TabTVFace *value)=0
 Copies Tab to be a global value for all particles. More...
 
virtual bool CopyValue (int fromParticle, int toParticle)=0
 Copies tab value from fromParticle to toParticle. More...
 
virtual bool CopyValue (int fromParticle, Tab< int > &toParticles)=0
 Copies tab value from fromParticle to toParticles. More...
 
virtual bool CopyValue (int fromParticle)=0
 Copies tab value from fromParticle to all particles. More...
 
FPInterfaceDescGetDesc ()
 

Detailed Description

Function Documentation

◆ IsShared()

bool IsShared ( ) const
pure virtual

Checks whether some particles have shared Tab<TVFace>.

If it's true then there is no need to get a Tab for each particle.

◆ GetValueCount()

int GetValueCount ( ) const
pure virtual

Gets the total number of actual Tabs (values) in the channel.

◆ GetValueIndex()

int GetValueIndex ( int  particleIndex) const
pure virtual

Gets the value index of a particle.

◆ GetValueByIndex()

const TabTVFace * GetValueByIndex ( int  valueIndex) const
pure virtual

Gets the Tab of the valueIndex-th value.

◆ GetValue() [1/2]

const TabTVFace * GetValue ( int  particleIndex) const
pure virtual

Gets the Tab for the particle specified by particleIndex.

◆ GetValue() [2/2]

const TabTVFace * GetValue ( ) const
pure virtual

Gets the global Tab<TVFace> for all particles.

This method returns the Tab of the first particle if it is local or shared.

◆ GetDesc() [1/2]

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

Implements FPInterface.

#define PARTICLECHANNELTABTVFACER_INTERFACE
Definition: IParticleChannelTabTVFace.h:28
virtual FPInterfaceDesc * GetDescByID(Interface_ID id)
Definition: ifnpub.h:613

◆ SetValue() [1/3]

bool SetValue ( int  particleIndex,
const TabTVFace value 
)
pure virtual

Copies Tab to be a local value for the particle with index "particleIndex".

Returns true if successful.

◆ SetValue() [2/3]

bool SetValue ( Tab< int > &  particleIndices,
const TabTVFace value 
)
pure virtual

Copies Tab to be a shared value for particles with indices in "particleIndices".

Returns true if successful.

◆ SetValue() [3/3]

bool SetValue ( const TabTVFace value)
pure virtual

Copies Tab to be a global value for all particles.

Returns true if successful.

◆ CopyValue() [1/3]

bool CopyValue ( int  fromParticle,
int  toParticle 
)
pure virtual

Copies tab value from fromParticle to toParticle.

◆ CopyValue() [2/3]

bool CopyValue ( int  fromParticle,
Tab< int > &  toParticles 
)
pure virtual

Copies tab value from fromParticle to toParticles.

◆ CopyValue() [3/3]

bool CopyValue ( int  fromParticle)
pure virtual

Copies tab value from fromParticle to all particles.

◆ GetDesc() [2/2]

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

Implements FPInterface.

#define PARTICLECHANNELTABTVFACEW_INTERFACE
Definition: IParticleChannelTabTVFace.h:29