@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.
10 lines (9 loc) • 466 B
TypeScript
declare type LoadFontOptions = {
element?: HTMLElement | DocumentFragment;
loadedCallback?: () => void;
};
export declare function loadFont(url: string, opts?: LoadFontOptions): void;
/** Ensure the fonts that needle engine uses are loaded */
export declare function ensureFonts(): void;
export declare const iconFontUrl = "https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=block";
export {};