3ds Max C++ API Reference
IParticleChannelMeshMap.h

Functions

virtual int GetNumMaps () const =0
 Returns the number of mapping channels in use. More...
 
virtual bool MapSupport (int mp) const =0
 Returns true if the specified mapping channel is supported; otherwise false. More...
 
virtual IParticleChannelMapRGetMapReadChannel (int mp)=0
 Returns an interface if the specified mapping channel is supported; otherwise NULL. More...
 
FPInterfaceDescGetDesc ()
 
virtual void SetNumMaps (int ct, bool keep=false)=0
 Sets the number of texture maps used. More...
 
virtual void SetMapSupport (int mp, bool support=true)=0
 Sets whether the specified mapping channels is supported or not. More...
 
virtual IParticleChannelMapWGetMapChannel (int mp)=0
 Returns an interface if the specified mapping channel is supported; otherwise NULL. More...
 
virtual IObjectGetMapChannelObject (int mp) const =0
 returns an object if the specified mapping channel is supported; otherwise NULL More...
 
FPInterfaceDescGetDesc ()
 

Detailed Description

Function Documentation

◆ GetNumMaps()

int GetNumMaps ( ) const
pure virtual

Returns the number of mapping channels in use.

◆ MapSupport()

bool MapSupport ( int  mp) const
pure virtual

Returns true if the specified mapping channel is supported; otherwise false.

Parameters
mpSpecifies the channel. See List of Mapping Channel Index Values.

◆ GetMapReadChannel()

IParticleChannelMapR * GetMapReadChannel ( int  mp)
pure virtual

Returns an interface if the specified mapping channel is supported; otherwise NULL.

Parameters
mpSpecifies the channel. See List of Mapping Channel Index Values.

◆ GetDesc() [1/2]

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

Implements FPInterface.

#define PARTICLECHANNELMESHMAPR_INTERFACE
Definition: IParticleChannelMeshMap.h:23
virtual FPInterfaceDesc * GetDescByID(Interface_ID id)
Definition: ifnpub.h:613

◆ SetNumMaps()

void SetNumMaps ( int  ct,
bool  keep = false 
)
pure virtual

Sets the number of texture maps used.

Note that this call is made automatically if SetMapSupport() is called.

Parameters
ctThe number of texture maps to use. This is a value between 0 and MAX_MESHMAPS-1.
keepTrue to keep the old mapping information after the resize; false to discard it.

◆ SetMapSupport()

void SetMapSupport ( int  mp,
bool  support = true 
)
pure virtual

Sets whether the specified mapping channels is supported or not.

Parameters
mpSpecifies the channel. See List of Mapping Channel Index Values.
supportTrue to indicate the channel is supported; otherwise false.

◆ GetMapChannel()

IParticleChannelMapW * GetMapChannel ( int  mp)
pure virtual

Returns an interface if the specified mapping channel is supported; otherwise NULL.

Parameters
mpSpecifies the channel. See List of Mapping Channel Index Values.

◆ GetMapChannelObject()

IObject * GetMapChannelObject ( int  mp) const
pure virtual

returns an object if the specified mapping channel is supported; otherwise NULL

Parameters
mpSpecifies the channel. See List of Mapping Channel Index Values.

◆ GetDesc() [2/2]

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

Implements FPInterface.

#define PARTICLECHANNELMESHMAPW_INTERFACE
Definition: IParticleChannelMeshMap.h:24