Detailed Description
- See also:
- Class IDataChannel, Class IFaceDataChannelsEnumCallBack
, Class IFaceDataMgr
- Description:
- This class is available in release 4.0 and later only.
This class represents the face-data channel interface and as such
is an abstraction of a collection of data objects that is
associated with faces of 3ds Max objects. 3ds Max objects that have
face-data channels call the methods of this interface when those
faces change in some way. The data channels can then react to the
changes to the faces. You can use the macro
GetFaceDataChannelInterface(obj) to obtain a pointer to this
interface.
Currently in version 4.0 only Meshes support face-data
channels.
#include <idatachannel.h>
List of all
members.
Member Function Documentation
virtual BOOL FacesCreated |
( |
ULONG |
at, |
|
|
ULONG |
num |
|
) |
|
[pure virtual] |
- Parameters:
- ULONG at
The index in the object's array of faces where the new faces are
inserted.
ULONG num
The number of new faces which are created.
- Returns:
- TRUE if successful, otherwise FALSE.
virtual BOOL FacesClonedAndAppended |
( |
BitArray & |
set |
) |
[pure virtual] |
- Parameters:
- BitArray&
set
The array of bits. Note that this array has as many bits as there
are faces in the owner object.
- Returns:
- TRUE if successful, otherwise FALSE.
virtual BOOL FacesDeleted |
( |
BitArray & |
set |
) |
[pure virtual] |
- Parameters:
- BitArray&
set
The array of bits. Note that this array has as many bits as there
are faces in the owner object.
- Returns:
- TRUE if successful, otherwise FALSE.
virtual BOOL FacesDeleted |
( |
ULONG |
from, |
|
|
ULONG |
num |
|
) |
|
[pure virtual] |
- Parameters:
- ULONG from
The index in the object's array of faces. Faces starting at this
index were deleted.
ULONG num
The number of faces that were deleted.
- Returns:
- TRUE if successful, otherwise FALSE.
virtual void AllFacesDeleted |
( |
|
) |
[pure virtual] |
virtual BOOL FaceCopied |
( |
ULONG |
from, |
|
|
ULONG |
to |
|
) |
|
[pure virtual] |
- Parameters:
- ULONG from
The index of the source face.
ULONG to
The index of the destination face.
- Returns:
- TRUE if successful, otherwise FALSE.
virtual BOOL FaceInterpolated |
( |
ULONG |
numSrc, |
|
|
ULONG * |
srcFaces, |
|
|
float * |
coeff, |
|
|
ULONG |
targetFace |
|
) |
|
[pure virtual] |
- Parameters:
- ULONG numSrc
The number of faces used in the interpolation.
ULONG* srcFaces
The array of numSrc face indices into the owner object's
face array. These faces were used when creating the new face.
float* coeff
The array of numSrc coefficients used in the
interpolation.
ULONG targetFac
The index in the owner object's array of faces of the newly created
face.
- Returns:
- TRUE if successful, otherwise FALSE.
- Parameters:
- const IFaceDataChannel* fromChan
The channel containing the data objects to append.
- Returns:
- TRUE if successful, otherwise FALSE.
IFaceDataChannel IFaceDataChannel
IFaceDataChannel IFaceDataChannel IFaceDataChannel IFaceDataChannel
IFaceDataChannel IFaceDataChannel IFaceDataChannel
IFaceDataChannel
IFaceDataChannel IFaceDataChannel
IFaceDataChannel IFaceDataChannel IFaceDataChannel IFaceDataChannel
IFaceDataChannel IFaceDataChannel IFaceDataChannel
IFaceDataChannel