lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
25 lines (24 loc) • 784 B
TypeScript
export class VelocityPass extends Pass {
constructor(scene: any, camera: any);
cachedMaterials: WeakMap<object, any>;
lastCameraTransform: {
position: Vector3;
quaternion: Quaternion;
};
visibleMeshes: any[];
renderedMeshesThisFrame: number;
renderedMeshesLastFrame: number;
_scene: any;
_camera: any;
renderTarget: WebGLRenderTarget;
setVelocityMaterialInScene(): void;
saveBoneTexture(object: any): void;
unsetVelocityMaterialInScene(): void;
setSize(width: any, height: any): void;
renderVelocity(renderer: any): void;
render(renderer: any): void;
}
import { Pass } from "postprocessing";
import { Vector3 } from "three";
import { Quaternion } from "three";
import { WebGLRenderTarget } from "three";