{
- attach?: AttachType;
- /** Constructor arguments */
- args?: Args;
- children?: any;
- ref?: T | ((instance: T) => void);
- // key?: React.Key;
- onUpdate?: (self: T) => void;
-}
-
-export type Node = Overwrite, NodeProps>;
-
-export type Object3DNode = Overwrite<
- Node,
- {
- position?: Vector3;
- up?: Vector3;
- scale?: Vector3;
- rotation?: Euler;
- matrix?: Matrix4;
- quaternion?: Quaternion;
- layers?: Layers;
- dispose?: (() => void) | null;
-
- geometry?: JSX.Element | BufferGeometry | null;
- material?: JSX.Element | Material | null;
- }
-> &
- EventHandlers;
-
-export type BufferGeometryNode = Overwrite<
- Node,
- {}
->;
-export type MaterialNode