@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
12 lines (11 loc) • 610 B
TypeScript
import { Object3D, Material, Vector2, Vector4, Camera, Color } from 'three';
import { NamedFunction2, ObjectNamedFunction5 } from './_Base';
export declare class cursorToUv extends NamedFunction2<[Vector2, Vector2]> {
static type(): string;
func(cursor: Vector2, target: Vector2): Vector2;
}
export declare class renderPixel extends ObjectNamedFunction5<[Material, Camera, Color, Vector2, Vector4]> {
static type(): string;
private _renderPixelController;
func(object3D: Object3D, material: Material | null, camera: Camera, backgroundColor: Color, uv: Vector2, target: Vector4): Vector4;
}