The PatchesInputs
class encapsulates methods for setting inputs to the Patch Editor.
This module exposes no properties.
Method | Description |
---|---|
| set(name: string, signal: ISignal | boolean | number | string): Promise<void> Sends a generic ISignal to the Patch Editor under the specified 'name' |
| setBoolean(name: string, signal: BoolSignal | boolean): Promise<void> Sends a BoolSignal to the Patch Editor under specified name . |
| setColor(name: string, signal: RgbaSignal): Promise<void> Sends a RgbaSignal to the Patch Editor under specified name . |
| setPoint(name: string, signal: PointSignal): Promise<void> Sends a PointSignal to the Patch Editor under specified name . |
| setPoint2D(name: string, signal: Vec2Signal): Promise<void> Sends a Vec2Signal to the Patch Editor under specified name . |
| setPulse(name: string, pulse: EventSource<any>): Promise<void> Sends a EventSource<any> to the Patch Editor under specified name .Note: The Reactive.once() method can be used to return an EventSource<void> that emits an empty event as soon as possible. |
| setScalar(name: string, signal: ScalarSignal | number): Promise<void> Sends a ScalarSignal to the Patch Editor under specified name . |
| setString(name: string, signal: StringSignal | string): Promise<void> Sends a StringSignal to the Patch Editor under specified name . |
| setVector(name: string, signal: VectorSignal): Promise<void> Sends a VectorSignal to the Patch Editor under specified name . |