Meta_Gradient
Module: Metanodes / Definitions
A Gradient is a type of 2D texture that is automatically generated by adding Meta_GradientPoint children.
#include <meta_gui.hpp>
Public Types
| Type | Name |
|---|---|
| enum | IDX { Idx_TextureSize, Idx_HSV, Idx_MapChannel, Idx_Range } Property index. |
Public Types Documentation
enum IDX
| Enumerator | Value | Description |
|---|---|---|
| Idx_TextureSize | int - Specifies the size of the texture to generate | |
| Idx_HSV | bool - Specifies whether to interpolate using HSV instead of RGB | |
| Idx_MapChannel | int - The texture channel to use from the mesh (see Meta_VertexAttrib) | |
| Idx_Range | vec2w - Specifies the range of positions expected of gradient point child nodes (x = min, y = max) |
Property index.