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.

14 lines (10 loc) 392 B
import { Color, Vector2 } from "three" import { serializable } from "../../engine/engine_serialization.js"; import { RGBAColor } from "../../engine/js-extensions/index.js"; import { Behaviour } from "../Component.js"; export class Outline extends Behaviour { @serializable(RGBAColor) effectColor?: RGBAColor; @serializable(Vector2) effectDistance?: Vector2; }