Skip to main content

Interface: IWidget<T>

Core-API.IWidget

Type parameters

NameType
Tany

Hierarchy

  • Omit<IModel<T>, "assetType">

    IWidget

Implemented by

Methods

attach

attach(object): IWidget<T>

Parameters

NameType
objectany

Returns

IWidget<T>

Defined in

webgi/src/interfaces.ts:53


detach

detach(): IWidget<T>

Returns

IWidget<T>

Defined in

webgi/src/interfaces.ts:54


update

Optional update(): void

Returns

void

Defined in

webgi/src/interfaces.ts:61


setMaterial

Optional setMaterial(material): IMaterial<any>[]

Parameters

NameType
materialundefined | IMaterial<any> | IMaterial<any>[]

Returns

IMaterial<any>[]

Inherited from

Omit.setMaterial

Defined in

webgi/src/interfaces.ts:325


setGeometry

Optional setGeometry(geometry, force?): any

returns the old geometry.

Parameters

NameType
geometryany
force?boolean

Returns

any

Inherited from

Omit.setGeometry

Defined in

webgi/src/interfaces.ts:331


setDirty

Optional setDirty(options?): void

Parameters

NameType
options?AnyOptions

Returns

void

Inherited from

Omit.setDirty

Defined in

webgi/src/interfaces.ts:332

Properties

assetType

assetType: "widget"

Defined in

webgi/src/interfaces.ts:56


modelObject

modelObject: any

Overrides

Omit.modelObject

Defined in

webgi/src/interfaces.ts:57


object

object: any

Defined in

webgi/src/interfaces.ts:59


material

Optional material: any

Overrides

Omit.material

Defined in

webgi/src/interfaces.ts:60


name

name: string

Inherited from

Omit.name

Defined in

webgi/src/interfaces.ts:310


uuid

Readonly uuid: string

Inherited from

Omit.uuid

Defined in

webgi/src/interfaces.ts:311


visible

visible: boolean

Inherited from

Omit.visible

Defined in

webgi/src/interfaces.ts:312


geometry

Optional Readonly geometry: any

Inherited from

Omit.geometry

Defined in

webgi/src/interfaces.ts:324


userData

userData: any

Inherited from

Omit.userData

Defined in

webgi/src/interfaces.ts:333


uiConfig

Optional uiConfig: UiObjectConfig<any, string>

Inherited from

Omit.uiConfig

Defined in

webgi/src/interfaces.ts:594