API Reference > imodeljs-frontend > Views > DisplayStyleState > forEachRealityModel forEachRealityModel Method Call a function for each reality model attached to this display style. forEachRealityModel(func: (model: ContextRealityModelState) => void): void see DisplayStyleSettings.contextRealityModels. Parameter Type Description func (model: ContextRealityModelState) => void Returns - void Defined in core/frontend/src/DisplayStyleState.ts Line 179 Last Updated: 11 June, 2024