Vector4Node.js 283 B

123456789101112131415161718
  1. import InputNode from '../core/InputNode.js';
  2. import { Vector4 } from 'three';
  3. class Vector4Node extends InputNode {
  4. constructor( value = new Vector4() ) {
  5. super( 'vec4' );
  6. this.value = value;
  7. }
  8. }
  9. Vector4Node.prototype.isVector4Node = true;
  10. export default Vector4Node;