UnityEditor.LookDevEnvironmentWindow.DrawLatLongThumbnail C# (CSharp) Method

DrawLatLongThumbnail() private method

private DrawLatLongThumbnail ( CubemapInfo infos, float angleOffset, float intensity, float alpha, Rect textureRect ) : void
infos CubemapInfo
angleOffset float
intensity float
alpha float
textureRect UnityEngine.Rect
return void
        private void DrawLatLongThumbnail(CubemapInfo infos, float angleOffset, float intensity, float alpha, Rect textureRect)
        {
            GUIStyle style = "dockarea";
            LookDevResources.m_LookDevCubeToLatlong.SetVector("_WindowParams", new Vector4(this.m_displayRect.height, this.m_PositionInLookDev.y + 17f, (float) style.margin.top, EditorGUIUtility.pixelsPerPoint));
            LookDevResources.m_LookDevCubeToLatlong.SetVector("_CubeToLatLongParams", new Vector4(0.01745329f * angleOffset, alpha, intensity, 0f));
            GL.sRGBWrite = QualitySettings.activeColorSpace == ColorSpace.Linear;
            Graphics.DrawTexture(textureRect, infos.cubemap, LookDevResources.m_LookDevCubeToLatlong, 1);
            GL.sRGBWrite = false;
        }