<PaintAttributesDrawMode> Data Interface

The PaintAttributesDrawMode class is used to access and set brush parameters used by the painting tool. These parameters control the paint radius mode, brush modes, mesh vertex format channel index edited by each brush, brush channel states, brush colors and brush alpha values. The level of flexibility provided allows multiple brushes to paint multiple vertex format channels simultaneously.

Class HierarchyNo registered superclass.

Function Members

Function members are as follows:

Return Type Function Name Documentation
int32ClearActiveBrushChannelTypeStatesDisables all channel types for the active brush.
int32DisableAllBrushesDisables all brushes. The brush state is set to disabled, but the channel type, color and alpha value are left intact.
int32GetActiveBrushChannelTypeStateGet the state (on or off) for a channel in the active brush.
<Color>GetActiveBrushColorGets the color of the active brush.
doubleGetBrushAlphaGets the alpha value of a brush.
int32GetBrushChannelIndexGets the mesh vertex channel index being edited by a brush.
int32GetBrushChannelTypeStateGets the channel type state of a brush.
<Color>GetBrushColorGets the color of a brush.
int32GetBrushStateGets the state (enabled or disabled) of a brush.
int32GetMaxPaintBrushesGets the maximum number of paint brushes supported by the draw mode.
int32ResetAllBrushesResets all brushes. All brushes are set to disabled, all channels on all brushes are turned off, all brush colors are set to black, and all alpha values are set to 0.0.
int32ResetBrushResets a brush. All channels on the brush are turned off, the brush color is set to black, and the alpha value is set to 0.0.
int32SetActiveBrushChannelTypeStateSets the state (on or off) for a channel in the active brush.
int32SetActiveBrushColorSets the color of the active brush.
int32SetBrushAlphaSets the alpha value of a brush.
int32SetBrushChannelIndexSets the edited mesh vertex channel index of a brush.
int32SetBrushChannelTypeStateSets the channel type state of a brush.
int32SetBrushColorSets the color of a brush.
int32SetBrushStateSets the state (enabled or disabled) of a brush.

Object Members

Object members are as follows:

Type Name Accessor Name Documentation
int32ActiveBrushThis member is used to get or set the active (or selected) brush index. The active brush represents the brush that is edited when the user changes brush states using the mouse, and is also the brush used to display paint indicators.
doubleActiveBrushAlphaThis member is used to get or set the alpha value of the active brush.
int32ActiveBrushChannelIndexThis member is used to get or set the channel index that the active brush is editing.
doubleBrushRadiusThis member is used to get or set the radius of the paint brush.
int32BrushRangeThis member is used to get or set the range mode of the paint brush. 0 represents fixed units and 1 represents geometric topology.