@@ -10,7 +10,7 @@ public sealed class Float : ParameterNode<float>
1010 [ Hide ] public float Step => UI . Step ;
1111
1212 [ Output ( typeof ( float ) ) , Title ( "Value" ) ]
13- [ Hide , Editor ( nameof ( Value ) ) , Range ( nameof ( Min ) , nameof ( Max ) , nameof ( Step ) ) ]
13+ [ Hide , NodeValueEditor ( nameof ( Value ) ) , Range ( nameof ( Min ) , nameof ( Max ) , nameof ( Step ) ) ]
1414 public NodeResult . Func Result => ( GraphCompiler compiler ) =>
1515 {
1616 return compiler . ResultParameter ( Name , Value , Min , Max , Min != Max , IsAttribute , UI ) ;
@@ -81,14 +81,14 @@ public float ValueY
8181 /// <summary>
8282 /// X component of result
8383 /// </summary>
84- [ Output ( typeof ( float ) ) , Hide , Editor ( nameof ( ValueX ) ) , Title ( "X" ) ]
84+ [ Output ( typeof ( float ) ) , Hide , NodeValueEditor ( nameof ( ValueX ) ) , Title ( "X" ) ]
8585 [ Range ( nameof ( MinX ) , nameof ( MaxX ) , nameof ( Step ) ) ]
8686 public NodeResult . Func X => ( GraphCompiler compiler ) => Component ( "x" , ValueX , compiler ) ;
8787
8888 /// <summary>
8989 /// Y component of result
9090 /// </summary>
91- [ Output ( typeof ( float ) ) , Hide , Editor ( nameof ( ValueY ) ) , Title ( "Y" ) ]
91+ [ Output ( typeof ( float ) ) , Hide , NodeValueEditor ( nameof ( ValueY ) ) , Title ( "Y" ) ]
9292 [ Range ( nameof ( MinY ) , nameof ( MaxY ) , nameof ( Step ) ) ]
9393 public NodeResult . Func Y => ( GraphCompiler compiler ) => Component ( "y" , ValueY , compiler ) ;
9494
@@ -157,21 +157,21 @@ public float ValueZ
157157 /// <summary>
158158 /// X component of result
159159 /// </summary>
160- [ Output ( typeof ( float ) ) , Hide , Editor ( nameof ( ValueX ) ) , Title ( "X" ) ]
160+ [ Output ( typeof ( float ) ) , Hide , NodeValueEditor ( nameof ( ValueX ) ) , Title ( "X" ) ]
161161 [ Range ( nameof ( MinX ) , nameof ( MaxX ) , nameof ( Step ) ) ]
162162 public NodeResult . Func X => ( GraphCompiler compiler ) => Component ( "x" , ValueX , compiler ) ;
163163
164164 /// <summary>
165165 /// Y component of result
166166 /// </summary>
167- [ Output ( typeof ( float ) ) , Hide , Editor ( nameof ( ValueY ) ) , Title ( "Y" ) ]
167+ [ Output ( typeof ( float ) ) , Hide , NodeValueEditor ( nameof ( ValueY ) ) , Title ( "Y" ) ]
168168 [ Range ( nameof ( MinY ) , nameof ( MaxY ) , nameof ( Step ) ) ]
169169 public NodeResult . Func Y => ( GraphCompiler compiler ) => Component ( "y" , ValueY , compiler ) ;
170170
171171 /// <summary>
172172 /// Z component of result
173173 /// </summary>
174- [ Output ( typeof ( float ) ) , Hide , Editor ( nameof ( ValueZ ) ) , Title ( "Z" ) ]
174+ [ Output ( typeof ( float ) ) , Hide , NodeValueEditor ( nameof ( ValueZ ) ) , Title ( "Z" ) ]
175175 [ Range ( nameof ( MinZ ) , nameof ( MaxZ ) , nameof ( Step ) ) ]
176176 public NodeResult . Func Z => ( GraphCompiler compiler ) => Component ( "z" , ValueZ , compiler ) ;
177177
@@ -193,7 +193,7 @@ public override Vector4 GetRangeMax()
193193public sealed class Float4 : ParameterNode < Color >
194194{
195195 [ Output ( typeof ( Color ) ) , Title ( "RGBA" ) ]
196- [ Hide , Editor ( nameof ( Value ) ) ]
196+ [ Hide , NodeValueEditor ( nameof ( Value ) ) ]
197197 public NodeResult . Func Result => ( GraphCompiler compiler ) =>
198198 {
199199 return compiler . ResultParameter ( Name , Value , default , default , false , IsAttribute , UI ) ;
@@ -230,25 +230,25 @@ public float ValueA
230230 /// <summary>
231231 /// Red component of result
232232 /// </summary>
233- [ Output ( typeof ( float ) ) , Hide , Editor ( nameof ( ValueR ) ) , Title ( "Red" ) ]
233+ [ Output ( typeof ( float ) ) , Hide , NodeValueEditor ( nameof ( ValueR ) ) , Title ( "Red" ) ]
234234 public NodeResult . Func R => ( GraphCompiler compiler ) => Component ( "r" , ValueR , compiler ) ;
235235
236236 /// <summary>
237237 /// Green component of result
238238 /// </summary>
239- [ Output ( typeof ( float ) ) , Hide , Editor ( nameof ( ValueG ) ) , Title ( "Green" ) ]
239+ [ Output ( typeof ( float ) ) , Hide , NodeValueEditor ( nameof ( ValueG ) ) , Title ( "Green" ) ]
240240 public NodeResult . Func G => ( GraphCompiler compiler ) => Component ( "g" , ValueG , compiler ) ;
241241
242242 /// <summary>
243243 /// Green component of result
244244 /// </summary>
245- [ Output ( typeof ( float ) ) , Hide , Editor ( nameof ( ValueB ) ) , Title ( "Blue" ) ]
245+ [ Output ( typeof ( float ) ) , Hide , NodeValueEditor ( nameof ( ValueB ) ) , Title ( "Blue" ) ]
246246 public NodeResult . Func B => ( GraphCompiler compiler ) => Component ( "b" , ValueB , compiler ) ;
247247
248248 /// <summary>
249249 /// Alpha component of result
250250 /// </summary>
251- [ Output ( typeof ( float ) ) , Hide , Editor ( nameof ( ValueA ) ) , Title ( "Alpha" ) ]
251+ [ Output ( typeof ( float ) ) , Hide , NodeValueEditor ( nameof ( ValueA ) ) , Title ( "Alpha" ) ]
252252 public NodeResult . Func A => ( GraphCompiler compiler ) => Component ( "a" , ValueA , compiler ) ;
253253
254254 public Float4 ( )
0 commit comments