Configures Scalable Ambient Obscurance (SAO) for a View.

  • Located at Effects.sao, which lives at View.effects.
  • View will apply SAO when the component enabled state is set to one of the values specified in the component enabled state.

See @xeokit/sdk/viewing/viewer for usage info.

Properties

view: View

The View to which this SAO belongs.

Accessors

  • get kernelRadius(): number

    Gets the maximum area that SAO takes into account when checking for possible occlusion for each fragment.

    Default value is 100.0.

    Returns number

  • set kernelRadius(value: number): void

    Sets the maximum area that SAO takes into account when checking for possible occlusion for each fragment.

    Default value is 100.0.

    Parameters

    • value: number

    Returns void

Methods