Motion
Get Motion

ReferenceScripting APIMotionColourfromHsv

MotionColour.fromHsv

method

A colour from its hue, saturation and value.

NamefromHsv
Kindmethod of MotionColour
Called ascolour.fromHsv(…)
As a nodeHSV to Colour (logic graph)
Since0.4

Syntax

fromHsv(    h: number,    s: number,    v: number): string

Parameters

NameTypeDescription
hnumberHue, 0 to 1 round the wheel
snumberSaturation, 0 to 1
vnumberValue, 0 to 1

Returns

string: the colour.