API Reference > imodeljs-common > DisplayStyles > AmbientOcclusion > AmbientOcclusion.Props > maxDistance maxDistance Readonly maxDistance: undefined | 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 22 Last Updated: 11 June, 2024