58 lines
1.1 KiB
C#
58 lines
1.1 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace PlanarReflections3
|
|
{
|
|
[Serializable]
|
|
public class ReflectionSettings
|
|
{
|
|
public ResolutionMode resolutionMode;
|
|
|
|
public ReflectionClipMode reflectionClipMode;
|
|
|
|
public Vector2 explicitResolution = new Vector2(1024f, 1024f);
|
|
|
|
public float resolutionDownscale = 0.5f;
|
|
|
|
public int targetFramerate;
|
|
|
|
public bool useCustomComponents;
|
|
|
|
public string[] customComponentNames = new string[0];
|
|
|
|
public bool autoSynchComponents;
|
|
|
|
public float nearClipDistance = 0.05f;
|
|
|
|
public float farClipDistance = 100f;
|
|
|
|
public bool customShadowDistance;
|
|
|
|
public bool updateOnCastOnly;
|
|
|
|
public float shadowDistance = 25f;
|
|
|
|
public RenderingPath renderingPath = RenderingPath.Forward;
|
|
|
|
public int pixelLights = -1;
|
|
|
|
public bool useMipMaps = true;
|
|
|
|
public bool useAntialiasing;
|
|
|
|
public bool usePostFX;
|
|
|
|
public PostFXSettingsMode PostFXSettingsMode;
|
|
|
|
public bool forceFloatOutput;
|
|
|
|
public bool useDepth;
|
|
|
|
public LayerMask reflectLayers = 1;
|
|
|
|
public bool trackCamerasWithTag;
|
|
|
|
public string CamerasTag = "MainCamera";
|
|
}
|
|
}
|