Closed jonty-dawson closed 3 years ago
Actually, something similar already exists - https://docs.wrld3d.com/unity/latest/docs/types/Wrld.Space.EnvironmentFlattening.EnvironmentFlatteningApi/
Looks like it is directly modifying EnvironementFlattening rendering state (which can also be set internally by platform modules, so may lead to race/fighting). On android-api we expose EegeoRenderingApi::SetMapCollapsed - https://github.com/wrld3d/android-api/blob/master/sdk/src/main/java/com/eegeo/mapapi/rendering/RenderingApi.java#L52
It would be desirable to add environment flattening to the Api (eg see #87).
Internally, this is exposing C++ api EegeoRenderingApi::SetMapCollapsed