Constructor
new MagoSSAO()
- Source:
Example
const magoSsao = new MagoSSAO(viewer);
magoSsao.on();
Members
globalOptions :GlobalOptions
Type:
- Source:
Methods
(async) init(viewer) → {Promise.<void>}
Initializes the Screen Space Ambient Occlusion effect.
Parameters:
Name | Type | Description |
---|---|---|
viewer |
- Source:
Returns:
- Type
- Promise.<void>
off() → {void}
Turns off the Screen Space Ambient Occlusion effect.
- Source:
Returns:
- Type
- void
on() → {void}
Turns on the Screen Space Ambient Occlusion effect.
- Source:
Returns:
- Type
- void
(async) setup(viewer) → {Promise.<void>}
Sets up the Screen Space Ambient Occlusion effect.
Parameters:
Name | Type | Description |
---|---|---|
viewer |
- Source:
Returns:
- Type
- Promise.<void>