Skip to main content

vScriptValColor

Dynamically color 2D Shape elements

Mograph / ScriptValScriptValArrayJSON
vScriptValColor node

Parameters​

ParameterTypeDefaultDescription
ColorDropdownDefaultDefault or Custom coloring.
Color By:DropdownIndexIndex, range mapping, spatial position, or a custom function.
ReferenceCenterPoint—Reference point for the spatial mode.
Max Color DistanceFloat0.0Distance at which the spatial mapping ends.
OffsetFloat0.0Shifts the gradient position.
+15 more parameters
ParameterTypeDefaultDescription
ScaleFloat1Scales the gradient position.
PowerFloat1.0Curve of the gradient position.
RepetitionsInteger1.0Number of times the gradient repeats.
BlendFloat0.0Blends between neighbouring colors.
PatternsText—Pattern text for the custom mapping.
GradientGradient—Color gradient.
LowInteger0—
HighInteger50—
Subdiv Color RangeInteger0Number of subdivisions of the color range.
Update UI RangeFloat——
RedFloat1.0Color for the custom.
GreenFloat0.9Color for the custom.
BlueFloat0.6Color for the custom.
AlphaFloat1.0Color for the custom.
PointScriptVal——