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

Functions

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

Detailed Description

Function Documentation

◆ GetNumMaps()

virtual int GetNumMaps ( ) const
pure virtual

Returns the number of mapping channels in use.

◆ MapSupport()

virtual 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()

virtual 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:619

◆ SetNumMaps()

virtual 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()

virtual 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()

virtual 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()

virtual 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