Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TryOnSlot

A slot that can display a 2D try-on. See: SlotLayout.

Hierarchy

Index

Constructors

constructor

Properties

avatarUrl

avatarUrl: string = undefined

The url from which the avatar should be downloaded from.

frame

frame: Rectangle = undefined

Define the frame in which a slot is rendered.

garmentUrls

garmentUrls: string[] = []

An array of urls that point to the garments used for the try-on. The order of the garment dictates the layering, while the last one in the list will be rendered on the outer most. These are only rendered if an avatar was set.

scalingMode

scalingMode: ScalingMode = undefined

Define the scaling mode of the slot.

Generated using TypeDoc