@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.
16 lines (15 loc) • 577 B
TypeScript
import { Behaviour } from '../Component.js';
/**
* [SpatialHtml](https://engine.needle.tools/docs/api/SpatialHtml) is a component that allows you to integrate HTML elements into a 3D scene.
* By specifying the ID of an existing HTML element, you can render it as a 3D object within the scene.
* @summary Render HTML elements as 3D objects in the scene
* @category User Interface
* @group Components
*/
export declare class SpatialHtml extends Behaviour {
id: string | null;
keepAspect: boolean;
private _object;
onEnable(): void;
onDisable(): void;
}