CLASSES
TagsA - Z

Window

Description

class Window extends ContentControl

Constructor

new Window(scene, settings)

Parameters

Name Type Description
scene Scene
optional settings { id: string, templateName: string, styleName: string, content: any, left: number, bottom: number, minWidth: number, minHeight: number, maxWidth: number, maxHeight: number, width: number, height: number, worldPosition: Vector3, worldRotation: Quaternion, marginTop: number, string: string, marginLeft: number, string: string, marginRight: number, string: string, marginBottom: number, string: string, margin: number, string: string, marginHAlignment: number, marginVAlignment: number, marginAlignment: string, paddingTop: number, string: string, paddingLeft: number, string: string, paddingRight: number, string: string, paddingBottom: number, string: string, padding: string, paddingHAlignment: number, paddingVAlignment: number, paddingAlignment: string }

Members

static WINDOW_PROPCOUNT : number

static leftProperty : Prim2DPropInfo

static bottomProperty : Prim2DPropInfo

static positionProperty : Prim2DPropInfo

static isActiveProperty : Prim2DPropInfo

canvas : Canvas2D

left : number

bottom : number

position : Vector2

isActive : boolean

focusManager : FocusManager