Interface: IWidget<T>
Core-API.IWidget
Type parameters
Name | Type |
---|---|
T | any |
Hierarchy
Omit
<IModel
<T
>,"assetType"
>↳
IWidget
Implemented by
Methods
attach
▸ attach(object
): IWidget
<T
>
Parameters
Name | Type |
---|---|
object | any |
Returns
IWidget
<T
>
Defined in
detach
▸ detach(): IWidget
<T
>
Returns
IWidget
<T
>
Defined in
update
▸ Optional
update(): void
Returns
void
Defined in
setMaterial
▸ Optional
setMaterial(material
): IMaterial
<any
>[]
Parameters
Name | Type |
---|---|
material | undefined | IMaterial <any > | IMaterial <any >[] |
Returns
IMaterial
<any
>[]
Inherited from
Omit.setMaterial
Defined in
setGeometry
▸ Optional
setGeometry(geometry
, force?
): any
returns the old geometry.
Parameters
Name | Type |
---|---|
geometry | any |
force? | boolean |
Returns
any
Inherited from
Omit.setGeometry
Defined in
setDirty
▸ Optional
setDirty(options?
): void
Parameters
Name | Type |
---|---|
options? | AnyOptions |
Returns
void
Inherited from
Omit.setDirty
Defined in
Properties
assetType
• assetType: "widget"
Defined in
modelObject
• modelObject: any
Overrides
Omit.modelObject
Defined in
object
• object: any
Defined in
material
• Optional
material: any
Overrides
Omit.material
Defined in
name
• name: string
Inherited from
Omit.name
Defined in
uuid
• Readonly
uuid: string
Inherited from
Omit.uuid
Defined in
visible
• visible: boolean
Inherited from
Omit.visible
Defined in
geometry
• Optional
Readonly
geometry: any
Inherited from
Omit.geometry
Defined in
userData
• userData: any
Inherited from
Omit.userData
Defined in
uiConfig
• Optional
uiConfig: UiObjectConfig
<any
, string
>
Inherited from
Omit.uiConfig