UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

16 lines (11 loc) 452 B
import { ShaderNode } from "./ShaderNode.js"; import { PortDirection } from "../../../../../core/model/node-graph/node/PortDirection.js"; import { ParticleDataTypes } from "./ParticleDataTypes.js"; export class WriteVelocity extends ShaderNode { constructor() { super(); this.id = 30003; this.name = 'Write Velocity'; this.createPort(ParticleDataTypes.Vector3, 'value', PortDirection.In); } }