UNPKG

@dcl-sdk/utils

Version:

A collection of helpers to make it easier to build a Decentraland scene using the SDK 7.

5 lines (4 loc) 464 B
import { Entity, TransformType, EventSystemCallback } from '@dcl/sdk/ecs'; import { Vector3, Color4 } from '@dcl/sdk/math'; export declare function addLabel(text: string, parent: Entity, billboard?: boolean, color?: Color4, size?: number, textOffset?: Vector3): Entity; export declare function addTestCube(transform?: Partial<TransformType>, triggeredFunction?: EventSystemCallback, label?: string, color?: Color4, sphere?: boolean, noCollider?: boolean): Entity;