#include <lib_paint.h>
Functions to get access to the selected BodyPaint 3D channel color settings.
Static Public Member Functions | |
static BPColorSettings * | GetColorSettings (Bool bg) |
static BPSingleColorSettings * | GetChannelColorSettings (Bool bg, Int32 channelid) |
static BPSingleColorSettings * | GetSelectedSingleColorSettings (Bool bg, Int32 *channelid=nullptr) |
static void | SetSelectedColorSettings (Bool bg, Int32 channelid) |
static Bool | GetGlobalChannelEnabling (Int32 channelid) |
static void | SetGlobalChannelEnabling (Int32 channelid, Bool enable) |
static Bool | GetMultiMode () |
static void | SetMultiMode (Bool multi) |
static Bool | ToggleFgBg () |
static BPPaintSettings * | GetActiveColorPreset () |
static void | SetActiveColorPreset (BPPaintSettings *set) |
static Bool | SaveColorSettings (BPPaintSettings *set) |
static Bool | DefineColorPreset (PaintTexture *tex, PaintLayerBmp *layer, PaintLayerBmp *mask, BPSingleColorSettings *color, Bool wallpaper) |
|
static |
Gets the color settings, for the foreground or background color, of a BodyPaint 3D Channel.
[in] | bg | Pass true to get the background color settings or false for the foreground color settings. |
|
static |
Gets the settings, for the foreground or background color, of a specific BodyPaint 3D Channel.
[in] | bg | Pass true to get the background color settings or false for the foreground color settings. |
[in] | channelid | The channel to get the color settings for e.g. CHANNEL_COLOR. |
|
static |
Gets the settings for the currently selected channel in BodyPaint 3D. If GetMultiMode() is on and there are multiple channels selected then it is possible to specify the channel.
[in] | bg | Pass true to get the background color settings or false for the foreground color settings. Special exception, set to NOTOK to use the selected background color. |
[in] | channelid | The specific channel to get the color settings for, e.g. CHANNEL_COLOR, if GetMultiMode() is enabled and there are multiple channels selected. |
Sets which channel is selected.
[in] | bg | Pass true to get the background color settings or false for the foreground color settings. Special exception, set to NOTOK to use the selected background color. |
[in] | channelid | The specific channel to get the color settings for, e.g. CHANNEL_COLOR. |
Gets which channel is selected/enabled. If GetMultiMode() is on then multiple channels could be enabled for painting.
[in] | channelid | The ID of the channel e.g. CHANNEL_COLOR. |
Sets which channel is selected/enabled. If GetMultiMode() is true then it is possible to enable multiple channels for painting.
[in] | channelid | The ID of the channel to enable e.g. CHANNEL_COLOR. |
[in] | enable | Pass true to enable the channel or false to disable it. |
|
static |
If GetMultiMode() is enabled then multiple channels can be selected/enabled in BodyPaint 3D.
|
static |
Sets the state of the MultiMode switch in BodyPaint 3D. If GetMultiMode() is enabled then multiple channels can be selected/enabled in BodyPaint 3D.
[in] | multi | Pass true to enable or false to disable the MultiMode switch. |
|
static |
Toggles the Foreground and Background colors.
|
static |
Gets the active color preset.
|
static |
Private.
|
static |
Private.
|
static |
Private.