Detailed Description
- See also:
- Class Mtl, Class
RenderInstance.
- Description:
- This class is available in release 4.0 and later only.
This class provides interface methods used to support indirect
material referencing and enhanced face / material associations.
Generally, these methods will need to be implemented by the plug-in
using them and cannot be called from a standard library, since the
information required is intimately associated with the geometry of
the object.
All methods of this class are virtual.
#include <chkmtlapi.h>
List of all
members.
Member Function Documentation
virtual BOOL SupportsParticleIDbyFace |
( |
|
) |
[inline, virtual] |
- Default Implementation:
- { return FALSE; }
virtual int GetParticleFromFace |
( |
int |
faceID |
) |
[inline, virtual] |
- Parameters:
- int faceID
The ID of the face.
- Default Implementation:
- { return 0; }
virtual BOOL SupportsIndirMtlRefs |
( |
|
) |
[inline, virtual] |
- Default Implementation:
- { return FALSE; }
virtual int NumberOfMtlsUsed |
( |
|
) |
[inline, virtual] |
- Default Implementation:
- { return 0; }
the following methods are meaningful.
virtual Mtl* GetNthMtl |
( |
int |
n |
) |
[inline, virtual] |
- Parameters:
- int n
The zero based index of the material used on the object.
- Returns:
- Default Implementation:
- { return NULL; }
virtual int GetNthMaxMtlID |
( |
int |
n |
) |
[inline, virtual] |
- Parameters:
- int n
The zero based index of the material.
- Default Implementation:
- { return 0; }
virtual Mtl* GetMaterialFromFace |
( |
int |
faceID |
) |
[inline, virtual] |
- Parameters:
- int faceID
The ID of the face to check.
- Default Implementation:
- { return NULL; }
IChkMtlAPI IChkMtlAPI IChkMtlAPI
IChkMtlAPI IChkMtlAPI IChkMtlAPI IChkMtlAPI IChkMtlAPI IChkMtlAPI
IChkMtlAPI
IChkMtlAPI IChkMtlAPI IChkMtlAPI
IChkMtlAPI IChkMtlAPI IChkMtlAPI IChkMtlAPI IChkMtlAPI IChkMtlAPI
IChkMtlAPI