public bool TryGetInstancedIndoorMapHighlightColor(InstancedIndoorMapRenderable renderable, out Color color)
        {
            var interop = new ColorInterop();

            bool result = NativeIndoorMapsApi_TryGetInstancedIndoorMapRenderableHighlightColor(NativePluginRunner.API, renderable.NativeInstance, renderable.InstanceIndex, out interop);

            color = interop.ToColor();

            return(result);
        }
        public void PrepareToRender(InstancedIndoorMapRenderable renderable)
        {
            Color color;

            if (!renderable.TryGetHighlightColor(out color))
            {
                color = renderable.GetColor() * m_diffuseColor;
            }

            SetMaterialColor(color, renderable.GetFloorIndex(), renderable.gameObject);
        }
 public float GetInstancedIndoorMapRenderableSaturation(InstancedIndoorMapRenderable renderable)
 {
     return(NativeIndoorMapsApi_GetInstancedIndoorMapRenderableSaturation(NativePluginRunner.API, renderable.NativeInstance));
 }
 public int GetInstancedIndoorMapRenderableFloorIndex(InstancedIndoorMapRenderable renderable)
 {
     return(NativeIndoorMapsApi_GetInstancedIndoorMapRenderableFloorIndex(NativePluginRunner.API, renderable.NativeInstance));
 }
 public Color GetInstancedIndoorMapRenderableColor(InstancedIndoorMapRenderable renderable)
 {
     return(NativeIndoorMapsApi_GetInstancedIndoorMapRenderableColor(NativePluginRunner.API, renderable.NativeInstance).ToColor());
 }