@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.
13 lines (12 loc) • 985 B
TypeScript
import { BalloonOptions, clearMessages, LogType, setAllowBalloonMessages, setAllowOverlayMessages } from "./debug_overlay.js";
export { clearMessages as clearBalloonMessages,
/** @deprecated use clearBalloonMessages instead */
clearMessages as clearOverlayMessages, LogType, setAllowBalloonMessages, setAllowOverlayMessages, };
export { isDevEnvironment, setDevEnvironment } from "./debug_environment.js";
export { enableSpatialConsole } from "./debug_spatial_console.js";
/** Displays a debug message on screen for a certain amount of time */
export declare function showBalloonMessage(text: string, options?: Partial<BalloonOptions>): void;
/** Displays a warning message on screen for a certain amount of time */
export declare function showBalloonWarning(text: string, options?: Partial<BalloonOptions>): void;
/** Displays an error message on screen for a certain amount of time */
export declare function showBalloonError(text: string, options?: Partial<BalloonOptions>): void;