@needle-tools/engine
Version:
Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.
29 lines (28 loc) • 1 kB
TypeScript
import { Material, Object3D, Texture, Vector3 } from "three";
import { Context } from "../engine/engine_setup.js";
import type { IRenderer } from "../engine/engine_types.js";
import { Behaviour } from "./Component.js";
export declare const debug: string | number | boolean;
/**
* @category Rendering
* @group Components
*/
export declare class ReflectionProbe extends Behaviour {
private static _probes;
static isUsingReflectionProbe(material: Material): boolean;
static get(object: Object3D | null | undefined, context: Context, isAnchor: boolean, anchor?: Object3D): ReflectionProbe | null;
private _texture;
set texture(tex: Texture);
get texture(): Texture;
center?: Vector3;
size?: Vector3;
private _boxHelper?;
private isInBox;
constructor();
awake(): void;
start(): void;
onDestroy(): void;
private static _rendererMaterialsCache;
onSet(_rend: IRenderer): void;
onUnset(_rend: IRenderer): void;
}