The IAssignVertexColors is a static interface to the Assign Vertex Color utility.
It can be obtained as follows:
IAssignVertexColors* avc = (IAssignVertexColors*)GetCOREInterface(IASSIGNVERTEXCOLORS_INTERFACE_ID);
#include <istdplug.h>
Classes |
|
class | Options |
The options used when calculating the vertex
colors. More... |
|
Public Types |
|
typedef LightingModel::LightingModel |
LightingModel |
Public Member Functions |
|
DECLARE_DESCRIPTOR (IAssignVertexColors) | |
virtual int | ApplyNodes (Tab< INode * > *nodes, ReferenceTarget *iVertexPaint=NULL)=0 |
Performs a lighting calculation. |
|
virtual void | GetOptions (Options &options)=0 |
The Get/SetOptions() methods control the
parameters used for the lighting calculation, as shown in the UI of
the utility. |
|
virtual void | SetOptions (Options &options)=0 |
The Get/SetOptions() methods control the
parameters used for the lighting calculation, as shown in the UI of
the utility. |
DECLARE_DESCRIPTOR | ( | IAssignVertexColors | ) |
virtual int ApplyNodes | ( | Tab< INode * > * | nodes, |
ReferenceTarget * | iVertexPaint =
NULL |
||
) | [pure virtual] |
Performs a lighting calculation.
The result is stored in the given VertexPaint modifier (if provided) or creates a new modifier instanced across the given nodes.
[in,out] | nodes | A pointer to an array of nodes pointers to apply the iVertexPaint interface to. This list of nodes will be filtered to include only nodes with geometry objects on return. |
[in] | iVertexPaint | An instance of a ReferenceTarget derived class which supports the IVertexPaint interface. If this parameter is null, an instance of the standard Max Vertex Paint modifier will be created and assigned to the nodes. |
virtual void GetOptions | ( | Options & | options | ) | [pure virtual] |
The Get/SetOptions() methods control the parameters used for the lighting calculation, as shown in the UI of the utility.
virtual void SetOptions | ( | Options & | options | ) | [pure virtual] |
The Get/SetOptions() methods control the parameters used for the lighting calculation, as shown in the UI of the utility.