11import { Theme } from './colors/Theme' ;
22import { UVNode } from './nodes/attribute/UVNode' ;
33import { ColorNode } from './nodes/input/ColorNode' ;
4- import { TimeNode } from './nodes/input /TimeNode' ;
4+ import { TimeNode } from './nodes/animation /TimeNode' ;
55import { tslInputNodes } from './nodes/input/TslInputNode' ;
66import { UniformValueNode } from './nodes/input/UniformValueNode' ;
77import { ValueNode } from './nodes/input/ValueNode' ;
@@ -20,6 +20,9 @@ import { MeshStandardNode } from './nodes/shader/MeshStandardNode';
2020import { ImageTextureNode } from './nodes/texture/ImageTextureNode' ;
2121import { BumpMapNode } from './nodes/vector/BumpMapNode' ;
2222import { NormalMapNode } from './nodes/vector/NormalMapNode' ;
23+ import { AnimatedPixelNode } from './nodes/animation/AnimatedPixelNode' ;
24+ import { SpliNode } from './nodes/operators/SplitNode' ;
25+ import { HSVNode } from './nodes/input/HSVNode' ;
2326
2427// Define the type for class constructors that extend BaseType
2528type Constructor < T extends Node > = new ( ...args : any [ ] ) => T ;
@@ -48,14 +51,22 @@ export const NodeTypes: NodeGroupType[] = [
4851 name : 'Uniform Value' ,
4952 id : 'uniform-value' ,
5053 } ,
51- { TypeClass : TimeNode , name :"time" , id :"timer" } ,
5254 { TypeClass : ValueNode , name : 'Value' , id : 'input-value' } ,
5355 { TypeClass : ColorNode , name : 'Color' , id : 'color-value' } ,
56+ { TypeClass : HSVNode , name :"HSV" , id :"hsv" } ,
5457 { TypeClass : UVNode , name : 'UV' , id : 'uv' } ,
5558 //{ TypeClass:PositionPropertiesNode, name:"Position", id:"position" },
5659 ...tslInputNodes ,
5760 ] ,
5861 } ,
62+ {
63+ group :'Animation' ,
64+ color : Theme . config . groupAnimation as string ,
65+ nodes : [
66+ { TypeClass : TimeNode , name :"time" , id :"timer" } ,
67+ { TypeClass : AnimatedPixelNode , name :"Animated Pixel" , id :"timer" } ,
68+ ]
69+ } ,
5970 {
6071 group : 'Logic' ,
6172 color : Theme . config . groupLogic as string ,
@@ -104,6 +115,7 @@ export const NodeTypes: NodeGroupType[] = [
104115 name : 'Swizzle' ,
105116 id : 'swizzle' ,
106117 } ,
118+ { TypeClass :SpliNode , name :"Split" , id :"split" }
107119 ] ,
108120 } ,
109121 {
0 commit comments