@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
15 lines (11 loc) • 449 B
JavaScript
import { ShaderNode } from "./ShaderNode.js";
import { PortDirection } from "../../../../../core/model/node-graph/node/PortDirection.js";
import { ParticleDataTypes } from "./ParticleDataTypes.js";
export class ReadVelocity extends ShaderNode {
constructor() {
super();
this.id = 30002;
this.name = 'Read Velocity';
this.createPort(ParticleDataTypes.Vector3, 'value', PortDirection.Out);
}
}