A game about forced loneliness, made by TACStudios
at master 38 lines 1.3 kB view raw
1using System; 2using UnityEngine; 3using UnityEngine.Rendering; 4 5namespace UnityEditor.Rendering 6{ 7 /// <summary> 8 /// Interface to add additional gizmo renders for a <see cref="IVolume"/> 9 /// </summary> 10 public interface IVolumeAdditionalGizmo 11 { 12 /// <summary> 13 /// The type that overrides this additional gizmo 14 /// </summary> 15 Type type { get; } 16 17 /// <summary> 18 /// Additional gizmo draw for <see cref="BoxCollider"/> 19 /// </summary> 20 /// <param name="scr">The <see cref="IVolume"/></param> 21 /// <param name="c">The <see cref="BoxCollider"/></param> 22 void OnBoxColliderDraw(IVolume scr, BoxCollider c); 23 24 /// <summary> 25 /// Additional gizmo draw for <see cref="SphereCollider"/> 26 /// </summary> 27 /// <param name="scr">The <see cref="IVolume"/></param> 28 /// <param name="c">The <see cref="SphereCollider"/></param> 29 void OnSphereColliderDraw(IVolume scr, SphereCollider c); 30 31 /// <summary> 32 /// Additional gizmo draw for <see cref="MeshCollider"/> 33 /// </summary> 34 /// <param name="scr">The <see cref="IVolume"/></param> 35 /// <param name="c">The <see cref="MeshCollider"/></param> 36 void OnMeshColliderDraw(IVolume scr, MeshCollider c); 37 } 38}