[nodes] add semantic to customize attibute UI

This commit is contained in:
Fabien Castan 2021-07-19 12:03:00 +02:00
parent a0f12743a5
commit dc3f4dd2be
3 changed files with 60 additions and 20 deletions

View file

@ -37,6 +37,7 @@ class ImageMasking(desc.CommandLineNode):
name='hue',
label='Hue',
description='Hue value to isolate in [0,1] range. 0 = red, 0.33 = green, 0.66 = blue, 1 = red.',
semantic='color/hue',
value=0.33,
range=(0, 1, 0.01),
uid=[0]