Class: BackgroundPresetGroup
Extra-Helpers.BackgroundPresetGroup
Hierarchy
↳
BackgroundPresetGroup
Properties
presets
• presets: IAsset
[] = []
Inherited from
Defined in
webgi/src/helpers/presetGroups.ts:9
selected
• selected: undefined
| IAsset
= undefined
Inherited from
Defined in
webgi/src/helpers/presetGroups.ts:11
name
• name: string
= 'Background'
Overrides
Defined in
webgi/src/helpers/presetGroups.ts:33
Constructors
constructor
• new BackgroundPresetGroup(name?
)
Parameters
Name | Type |
---|---|
name? | string |
Inherited from
Defined in
webgi/src/helpers/presetGroups.ts:27
Methods
apply
▸ apply(viewer
, preset
): Promise
<any
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
preset | IAsset |
Returns
Promise
<any
>