API Reference > imodeljs-common > DisplayStyles > AmbientOcclusion > AmbientOcclusion.Settings > maxDistance maxDistance Readonly maxDistance: number If defined, the maximum distance from the camera's near plane in meters at which ambient occlusion will be applied. If undefined, the maximum distance defaults to 100. Defined in core/common/src/AmbientOcclusion.ts Line 48 Last Updated: 12 June, 2024