Meta_MaterialParameter
A MaterialParameter defines a single MDL function input.
The default value is added as a Meta_MaterialArgument child.
Public Types
Property index.
Idx_Type | Type (int) - what kind of data the parameter expects. |
Idx_IsUniform | bool - if true value is constant for the entire surface, so cannot be a texture. |
Idx_GUIName | string - name to display in gui |
Idx_GUIGroup | string - used to group parameters together under a common title in the GUI. |
Idx_GUIRange | vec3f - range of possible values to allow from the GUI (x=min, y=max, z=stepSize) |
Idx_GUIDesc | string - description |
Idx_GUIHidden | bool - if true this parameter will not be shown in the gui |
Values for Idx_Type.
Type_Float | |
Type_Float2 | |
Type_Float3 | |
Type_Float4 | |
Type_Colour | |
Type_Bool | |
Type_Link | |
Type_Int | |