UNPKG

@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.

15 lines (14 loc) 581 B
import { Vector2 } from "three"; import { RGBAColor } from "../../engine/js-extensions/index.js"; import { Behaviour } from "../Component.js"; /** * [Outline](https://engine.needle.tools/docs/api/Outline) is a UI component that adds an outline effect to UI elements. * You can customize the outline color and distance to create a visual border around the UI element. * @summary Add an outline effect to UI elements * @category User Interface * @group Components */ export declare class Outline extends Behaviour { effectColor?: RGBAColor; effectDistance?: Vector2; }