using System; using System.Runtime.CompilerServices; using UnityEngine.Internal; using UnityEngine.Scripting; namespace UnityEngine { // Token: 0x02000040 RID: 64 public sealed class Gizmos { // Token: 0x060004A6 RID: 1190 RVA: 0x00007BE4 File Offset: 0x00005DE4 public static void DrawRay(Ray r) { Gizmos.DrawLine(r.origin, r.origin + r.direction); } // Token: 0x060004A7 RID: 1191 RVA: 0x00007C08 File Offset: 0x00005E08 public static void DrawRay(Vector3 from, Vector3 direction) { Gizmos.DrawLine(from, from + direction); } // Token: 0x060004A8 RID: 1192 RVA: 0x00007C18 File Offset: 0x00005E18 public static void DrawLine(Vector3 from, Vector3 to) { Gizmos.INTERNAL_CALL_DrawLine(ref from, ref to); } // Token: 0x060004A9 RID: 1193 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_DrawLine(ref Vector3 from, ref Vector3 to); // Token: 0x060004AA RID: 1194 RVA: 0x00007C24 File Offset: 0x00005E24 public static void DrawWireSphere(Vector3 center, float radius) { Gizmos.INTERNAL_CALL_DrawWireSphere(ref center, radius); } // Token: 0x060004AB RID: 1195 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_DrawWireSphere(ref Vector3 center, float radius); // Token: 0x060004AC RID: 1196 RVA: 0x00007C30 File Offset: 0x00005E30 public static void DrawSphere(Vector3 center, float radius) { Gizmos.INTERNAL_CALL_DrawSphere(ref center, radius); } // Token: 0x060004AD RID: 1197 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_DrawSphere(ref Vector3 center, float radius); // Token: 0x060004AE RID: 1198 RVA: 0x00007C3C File Offset: 0x00005E3C public static void DrawWireCube(Vector3 center, Vector3 size) { Gizmos.INTERNAL_CALL_DrawWireCube(ref center, ref size); } // Token: 0x060004AF RID: 1199 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_DrawWireCube(ref Vector3 center, ref Vector3 size); // Token: 0x060004B0 RID: 1200 RVA: 0x00007C48 File Offset: 0x00005E48 public static void DrawCube(Vector3 center, Vector3 size) { Gizmos.INTERNAL_CALL_DrawCube(ref center, ref size); } // Token: 0x060004B1 RID: 1201 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_DrawCube(ref Vector3 center, ref Vector3 size); // Token: 0x060004B2 RID: 1202 RVA: 0x00007C54 File Offset: 0x00005E54 [ExcludeFromDocs] public static void DrawMesh(Mesh mesh, Vector3 position, Quaternion rotation) { Vector3 one = Vector3.one; Gizmos.DrawMesh(mesh, position, rotation, one); } // Token: 0x060004B3 RID: 1203 RVA: 0x00007C74 File Offset: 0x00005E74 [ExcludeFromDocs] public static void DrawMesh(Mesh mesh, Vector3 position) { Vector3 one = Vector3.one; Quaternion identity = Quaternion.identity; Gizmos.DrawMesh(mesh, position, identity, one); } // Token: 0x060004B4 RID: 1204 RVA: 0x00007C98 File Offset: 0x00005E98 [ExcludeFromDocs] public static void DrawMesh(Mesh mesh) { Vector3 one = Vector3.one; Quaternion identity = Quaternion.identity; Vector3 zero = Vector3.zero; Gizmos.DrawMesh(mesh, zero, identity, one); } // Token: 0x060004B5 RID: 1205 RVA: 0x00007CC4 File Offset: 0x00005EC4 public static void DrawMesh(Mesh mesh, [DefaultValue("Vector3.zero")] Vector3 position, [DefaultValue("Quaternion.identity")] Quaternion rotation, [DefaultValue("Vector3.one")] Vector3 scale) { Gizmos.DrawMesh(mesh, -1, position, rotation, scale); } // Token: 0x060004B6 RID: 1206 RVA: 0x00007CD4 File Offset: 0x00005ED4 public static void DrawMesh(Mesh mesh, int submeshIndex, [DefaultValue("Vector3.zero")] Vector3 position, [DefaultValue("Quaternion.identity")] Quaternion rotation, [DefaultValue("Vector3.one")] Vector3 scale) { Gizmos.INTERNAL_CALL_DrawMesh(mesh, submeshIndex, ref position, ref rotation, ref scale); } // Token: 0x060004B7 RID: 1207 RVA: 0x00007CE4 File Offset: 0x00005EE4 [ExcludeFromDocs] public static void DrawMesh(Mesh mesh, int submeshIndex, Vector3 position, Quaternion rotation) { Vector3 one = Vector3.one; Gizmos.INTERNAL_CALL_DrawMesh(mesh, submeshIndex, ref position, ref rotation, ref one); } // Token: 0x060004B8 RID: 1208 RVA: 0x00007D08 File Offset: 0x00005F08 [ExcludeFromDocs] public static void DrawMesh(Mesh mesh, int submeshIndex, Vector3 position) { Vector3 one = Vector3.one; Quaternion identity = Quaternion.identity; Gizmos.INTERNAL_CALL_DrawMesh(mesh, submeshIndex, ref position, ref identity, ref one); } // Token: 0x060004B9 RID: 1209 RVA: 0x00007D30 File Offset: 0x00005F30 [ExcludeFromDocs] public static void DrawMesh(Mesh mesh, int submeshIndex) { Vector3 one = Vector3.one; Quaternion identity = Quaternion.identity; Vector3 zero = Vector3.zero; Gizmos.INTERNAL_CALL_DrawMesh(mesh, submeshIndex, ref zero, ref identity, ref one); } // Token: 0x060004BA RID: 1210 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_DrawMesh(Mesh mesh, int submeshIndex, ref Vector3 position, ref Quaternion rotation, ref Vector3 scale); // Token: 0x060004BB RID: 1211 RVA: 0x00007D60 File Offset: 0x00005F60 [ExcludeFromDocs] public static void DrawWireMesh(Mesh mesh, Vector3 position, Quaternion rotation) { Vector3 one = Vector3.one; Gizmos.DrawWireMesh(mesh, position, rotation, one); } // Token: 0x060004BC RID: 1212 RVA: 0x00007D80 File Offset: 0x00005F80 [ExcludeFromDocs] public static void DrawWireMesh(Mesh mesh, Vector3 position) { Vector3 one = Vector3.one; Quaternion identity = Quaternion.identity; Gizmos.DrawWireMesh(mesh, position, identity, one); } // Token: 0x060004BD RID: 1213 RVA: 0x00007DA4 File Offset: 0x00005FA4 [ExcludeFromDocs] public static void DrawWireMesh(Mesh mesh) { Vector3 one = Vector3.one; Quaternion identity = Quaternion.identity; Vector3 zero = Vector3.zero; Gizmos.DrawWireMesh(mesh, zero, identity, one); } // Token: 0x060004BE RID: 1214 RVA: 0x00007DD0 File Offset: 0x00005FD0 public static void DrawWireMesh(Mesh mesh, [DefaultValue("Vector3.zero")] Vector3 position, [DefaultValue("Quaternion.identity")] Quaternion rotation, [DefaultValue("Vector3.one")] Vector3 scale) { Gizmos.DrawWireMesh(mesh, -1, position, rotation, scale); } // Token: 0x060004BF RID: 1215 RVA: 0x00007DE0 File Offset: 0x00005FE0 public static void DrawWireMesh(Mesh mesh, int submeshIndex, [DefaultValue("Vector3.zero")] Vector3 position, [DefaultValue("Quaternion.identity")] Quaternion rotation, [DefaultValue("Vector3.one")] Vector3 scale) { Gizmos.INTERNAL_CALL_DrawWireMesh(mesh, submeshIndex, ref position, ref rotation, ref scale); } // Token: 0x060004C0 RID: 1216 RVA: 0x00007DF0 File Offset: 0x00005FF0 [ExcludeFromDocs] public static void DrawWireMesh(Mesh mesh, int submeshIndex, Vector3 position, Quaternion rotation) { Vector3 one = Vector3.one; Gizmos.INTERNAL_CALL_DrawWireMesh(mesh, submeshIndex, ref position, ref rotation, ref one); } // Token: 0x060004C1 RID: 1217 RVA: 0x00007E14 File Offset: 0x00006014 [ExcludeFromDocs] public static void DrawWireMesh(Mesh mesh, int submeshIndex, Vector3 position) { Vector3 one = Vector3.one; Quaternion identity = Quaternion.identity; Gizmos.INTERNAL_CALL_DrawWireMesh(mesh, submeshIndex, ref position, ref identity, ref one); } // Token: 0x060004C2 RID: 1218 RVA: 0x00007E3C File Offset: 0x0000603C [ExcludeFromDocs] public static void DrawWireMesh(Mesh mesh, int submeshIndex) { Vector3 one = Vector3.one; Quaternion identity = Quaternion.identity; Vector3 zero = Vector3.zero; Gizmos.INTERNAL_CALL_DrawWireMesh(mesh, submeshIndex, ref zero, ref identity, ref one); } // Token: 0x060004C3 RID: 1219 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_DrawWireMesh(Mesh mesh, int submeshIndex, ref Vector3 position, ref Quaternion rotation, ref Vector3 scale); // Token: 0x060004C4 RID: 1220 RVA: 0x00007E6C File Offset: 0x0000606C public static void DrawIcon(Vector3 center, string name, [DefaultValue("true")] bool allowScaling) { Gizmos.INTERNAL_CALL_DrawIcon(ref center, name, allowScaling); } // Token: 0x060004C5 RID: 1221 RVA: 0x00007E78 File Offset: 0x00006078 [ExcludeFromDocs] public static void DrawIcon(Vector3 center, string name) { bool flag = true; Gizmos.INTERNAL_CALL_DrawIcon(ref center, name, flag); } // Token: 0x060004C6 RID: 1222 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_DrawIcon(ref Vector3 center, string name, bool allowScaling); // Token: 0x060004C7 RID: 1223 RVA: 0x00007E94 File Offset: 0x00006094 [ExcludeFromDocs] public static void DrawGUITexture(Rect screenRect, Texture texture) { Material material = null; Gizmos.DrawGUITexture(screenRect, texture, material); } // Token: 0x060004C8 RID: 1224 RVA: 0x00007EAC File Offset: 0x000060AC public static void DrawGUITexture(Rect screenRect, Texture texture, [DefaultValue("null")] Material mat) { Gizmos.DrawGUITexture(screenRect, texture, 0, 0, 0, 0, mat); } // Token: 0x060004C9 RID: 1225 RVA: 0x00007EBC File Offset: 0x000060BC public static void DrawGUITexture(Rect screenRect, Texture texture, int leftBorder, int rightBorder, int topBorder, int bottomBorder, [DefaultValue("null")] Material mat) { Gizmos.INTERNAL_CALL_DrawGUITexture(ref screenRect, texture, leftBorder, rightBorder, topBorder, bottomBorder, mat); } // Token: 0x060004CA RID: 1226 RVA: 0x00007ED0 File Offset: 0x000060D0 [ExcludeFromDocs] public static void DrawGUITexture(Rect screenRect, Texture texture, int leftBorder, int rightBorder, int topBorder, int bottomBorder) { Material material = null; Gizmos.INTERNAL_CALL_DrawGUITexture(ref screenRect, texture, leftBorder, rightBorder, topBorder, bottomBorder, material); } // Token: 0x060004CB RID: 1227 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_DrawGUITexture(ref Rect screenRect, Texture texture, int leftBorder, int rightBorder, int topBorder, int bottomBorder, Material mat); // Token: 0x170000F1 RID: 241 // (get) Token: 0x060004CC RID: 1228 RVA: 0x00007EF0 File Offset: 0x000060F0 // (set) Token: 0x060004CD RID: 1229 RVA: 0x00007F10 File Offset: 0x00006110 public static Color color { get { Color color; Gizmos.INTERNAL_get_color(out color); return color; } set { Gizmos.INTERNAL_set_color(ref value); } } // Token: 0x060004CE RID: 1230 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_get_color(out Color value); // Token: 0x060004CF RID: 1231 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_set_color(ref Color value); // Token: 0x170000F2 RID: 242 // (get) Token: 0x060004D0 RID: 1232 RVA: 0x00007F1C File Offset: 0x0000611C // (set) Token: 0x060004D1 RID: 1233 RVA: 0x00007F3C File Offset: 0x0000613C public static Matrix4x4 matrix { get { Matrix4x4 matrix4x; Gizmos.INTERNAL_get_matrix(out matrix4x); return matrix4x; } set { Gizmos.INTERNAL_set_matrix(ref value); } } // Token: 0x060004D2 RID: 1234 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_get_matrix(out Matrix4x4 value); // Token: 0x060004D3 RID: 1235 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_set_matrix(ref Matrix4x4 value); // Token: 0x060004D4 RID: 1236 RVA: 0x00007F48 File Offset: 0x00006148 public static void DrawFrustum(Vector3 center, float fov, float maxRange, float minRange, float aspect) { Gizmos.INTERNAL_CALL_DrawFrustum(ref center, fov, maxRange, minRange, aspect); } // Token: 0x060004D5 RID: 1237 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_DrawFrustum(ref Vector3 center, float fov, float maxRange, float minRange, float aspect); } }