#include <customgui_gradient.h>
渐变 GUI ( CUSTOMGUI_GRADIENT ) for the 渐变 data type. Here are the settings: GRADIENTPROPERTY_CUSTOMGUISETTINGS
私有成员函数 |
|
GradientCustomGui () | |
~GradientCustomGui () |
Gradient Data |
|
渐变 * | GetGradient () |
Bool | SetGradient ( 渐变 *grad) |
Active Knots/Biasses |
|
maxon::Result < maxon::BaseArray < Int32 > > | GetActiveKnots ( Bool bias) |
maxon::Result < void > | SetActiveKnots (const maxon::BaseArray < Int32 > &activeIndexList, Bool bias, Bool addToSelection) |
Additional Inherited Members |
|
![]() |
|
Int32 | GetWidth () |
Int32 | GetHeight () |
void | Redraw () |
Bool | LayoutChanged () |
Bool | 激活 () |
Bool | SetDefaultForResEdit () |
Bool | SetData (const TriState < GeData > &tristate) |
TriState < GeData > | GetData () |
void | SetLayoutMode ( Int32 mode) |
Int32 | GetLayoutMode () |
Bool | SupportLayoutSwitch () |
![]() |
|
Int32 | GetWidth ( Int32 plugid) |
Int32 | GetHeight ( Int32 plugid) |
void | Redraw ( Int32 plugid) |
Bool | LayoutChanged ( Int32 plugid) |
Bool | 激活 ( Int32 plugid) |
Bool | SetDefaultForResEdit ( Int32 plugid) |
Bool | SetData ( Int32 plugid, const TriState < GeData > &tristate) |
TriState < GeData > | GetData ( Int32 plugid) |
void | SetLayoutMode ( Int32 plugid, Int32 mode) |
Int32 | GetLayoutMode ( Int32 plugid) |
Bool | SupportLayoutSwitch ( Int32 plugid) |
|
|
渐变 * GetGradient | ( | ) |
Gets the gradient data.
Bool SetGradient | ( | 渐变 * | grad | ) |
Sets the gradient data.
[in] | grad | The gradient data to set. The caller owns the pointed gradient data. |
maxon::Result < maxon::BaseArray < Int32 > > GetActiveKnots | ( | Bool | bias | ) |
Gets the active knots or biassses control indexes.
[in] | bias | Set to true to get the active biasses index, otherwise it will get the active knots indexes. |
maxon::Result <void> SetActiveKnots | ( | const maxon::BaseArray < Int32 > & | activeIndexList , |
Bool | bias , | ||
Bool | addToSelection | ||
) |
Sets the active knots or biasses controls.
[in] | activeIndexList | The knots or biasses index list to set. |
[in] | bias | Pass true to select biasses, otherwise knots. |