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

Functions

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