1555 lines
77 KiB
C#
1555 lines
77 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using UnityEngine.Internal;
|
|
using UnityEngine.Scripting;
|
|
|
|
namespace UnityEngine
|
|
{
|
|
// Token: 0x02000163 RID: 355
|
|
public class Physics
|
|
{
|
|
// Token: 0x1700057D RID: 1405
|
|
// (get) Token: 0x06001920 RID: 6432 RVA: 0x0001F3E0 File Offset: 0x0001D5E0
|
|
// (set) Token: 0x06001921 RID: 6433 RVA: 0x0001F400 File Offset: 0x0001D600
|
|
[ThreadAndSerializationSafe]
|
|
public static Vector3 gravity
|
|
{
|
|
get
|
|
{
|
|
Vector3 vector;
|
|
Physics.INTERNAL_get_gravity(out vector);
|
|
return vector;
|
|
}
|
|
set
|
|
{
|
|
Physics.INTERNAL_set_gravity(ref value);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001922 RID: 6434
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_get_gravity(out Vector3 value);
|
|
|
|
// Token: 0x06001923 RID: 6435
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_set_gravity(ref Vector3 value);
|
|
|
|
// Token: 0x1700057E RID: 1406
|
|
// (get) Token: 0x06001924 RID: 6436
|
|
// (set) Token: 0x06001925 RID: 6437
|
|
[Obsolete("use Physics.defaultContactOffset or Collider.contactOffset instead.", true)]
|
|
public static extern float minPenetrationForPenalty
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x1700057F RID: 1407
|
|
// (get) Token: 0x06001926 RID: 6438
|
|
// (set) Token: 0x06001927 RID: 6439
|
|
public static extern float defaultContactOffset
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000580 RID: 1408
|
|
// (get) Token: 0x06001928 RID: 6440
|
|
// (set) Token: 0x06001929 RID: 6441
|
|
public static extern float bounceThreshold
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000581 RID: 1409
|
|
// (get) Token: 0x0600192A RID: 6442 RVA: 0x0001F40C File Offset: 0x0001D60C
|
|
// (set) Token: 0x0600192B RID: 6443 RVA: 0x0001F428 File Offset: 0x0001D628
|
|
[Obsolete("Please use bounceThreshold instead.")]
|
|
public static float bounceTreshold
|
|
{
|
|
get
|
|
{
|
|
return Physics.bounceThreshold;
|
|
}
|
|
set
|
|
{
|
|
Physics.bounceThreshold = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000582 RID: 1410
|
|
// (get) Token: 0x0600192C RID: 6444
|
|
// (set) Token: 0x0600192D RID: 6445
|
|
[Obsolete("The sleepVelocity is no longer supported. Use sleepThreshold. Note that sleepThreshold is energy but not velocity.")]
|
|
public static extern float sleepVelocity
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000583 RID: 1411
|
|
// (get) Token: 0x0600192E RID: 6446
|
|
// (set) Token: 0x0600192F RID: 6447
|
|
[Obsolete("The sleepAngularVelocity is no longer supported. Use sleepThreshold. Note that sleepThreshold is energy but not velocity.")]
|
|
public static extern float sleepAngularVelocity
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000584 RID: 1412
|
|
// (get) Token: 0x06001930 RID: 6448
|
|
// (set) Token: 0x06001931 RID: 6449
|
|
[Obsolete("use Rigidbody.maxAngularVelocity instead.", true)]
|
|
public static extern float maxAngularVelocity
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000585 RID: 1413
|
|
// (get) Token: 0x06001932 RID: 6450
|
|
// (set) Token: 0x06001933 RID: 6451
|
|
public static extern int defaultSolverIterations
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000586 RID: 1414
|
|
// (get) Token: 0x06001934 RID: 6452 RVA: 0x0001F434 File Offset: 0x0001D634
|
|
// (set) Token: 0x06001935 RID: 6453 RVA: 0x0001F450 File Offset: 0x0001D650
|
|
[Obsolete("Please use Physics.defaultSolverIterations instead. (UnityUpgradable) -> defaultSolverIterations")]
|
|
public static int solverIterationCount
|
|
{
|
|
get
|
|
{
|
|
return Physics.defaultSolverIterations;
|
|
}
|
|
set
|
|
{
|
|
Physics.defaultSolverIterations = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000587 RID: 1415
|
|
// (get) Token: 0x06001936 RID: 6454
|
|
// (set) Token: 0x06001937 RID: 6455
|
|
public static extern int defaultSolverVelocityIterations
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x17000588 RID: 1416
|
|
// (get) Token: 0x06001938 RID: 6456 RVA: 0x0001F45C File Offset: 0x0001D65C
|
|
// (set) Token: 0x06001939 RID: 6457 RVA: 0x0001F478 File Offset: 0x0001D678
|
|
[Obsolete("Please use Physics.defaultSolverVelocityIterations instead. (UnityUpgradable) -> defaultSolverVelocityIterations")]
|
|
public static int solverVelocityIterationCount
|
|
{
|
|
get
|
|
{
|
|
return Physics.defaultSolverVelocityIterations;
|
|
}
|
|
set
|
|
{
|
|
Physics.defaultSolverVelocityIterations = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000589 RID: 1417
|
|
// (get) Token: 0x0600193A RID: 6458
|
|
// (set) Token: 0x0600193B RID: 6459
|
|
public static extern float sleepThreshold
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x1700058A RID: 1418
|
|
// (get) Token: 0x0600193C RID: 6460
|
|
// (set) Token: 0x0600193D RID: 6461
|
|
public static extern bool queriesHitTriggers
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x1700058B RID: 1419
|
|
// (get) Token: 0x0600193E RID: 6462
|
|
// (set) Token: 0x0600193F RID: 6463
|
|
public static extern bool queriesHitBackfaces
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x06001940 RID: 6464 RVA: 0x0001F484 File Offset: 0x0001D684
|
|
[ExcludeFromDocs]
|
|
public static bool Raycast(Vector3 origin, Vector3 direction, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.Raycast(origin, direction, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001941 RID: 6465 RVA: 0x0001F4A8 File Offset: 0x0001D6A8
|
|
[ExcludeFromDocs]
|
|
public static bool Raycast(Vector3 origin, Vector3 direction, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.Raycast(origin, direction, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001942 RID: 6466 RVA: 0x0001F4CC File Offset: 0x0001D6CC
|
|
[ExcludeFromDocs]
|
|
public static bool Raycast(Vector3 origin, Vector3 direction)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.Raycast(origin, direction, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001943 RID: 6467 RVA: 0x0001F4F8 File Offset: 0x0001D6F8
|
|
public static bool Raycast(Vector3 origin, Vector3 direction, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.Internal_RaycastTest(origin, direction, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001944 RID: 6468 RVA: 0x0001F518 File Offset: 0x0001D718
|
|
[RequiredByNativeCode]
|
|
[ExcludeFromDocs]
|
|
public static bool Raycast(Vector3 origin, Vector3 direction, out RaycastHit hitInfo, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.Raycast(origin, direction, out hitInfo, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001945 RID: 6469 RVA: 0x0001F53C File Offset: 0x0001D73C
|
|
[ExcludeFromDocs]
|
|
public static bool Raycast(Vector3 origin, Vector3 direction, out RaycastHit hitInfo, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.Raycast(origin, direction, out hitInfo, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001946 RID: 6470 RVA: 0x0001F564 File Offset: 0x0001D764
|
|
[ExcludeFromDocs]
|
|
public static bool Raycast(Vector3 origin, Vector3 direction, out RaycastHit hitInfo)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.Raycast(origin, direction, out hitInfo, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001947 RID: 6471 RVA: 0x0001F590 File Offset: 0x0001D790
|
|
public static bool Raycast(Vector3 origin, Vector3 direction, out RaycastHit hitInfo, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.Internal_Raycast(origin, direction, out hitInfo, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001948 RID: 6472 RVA: 0x0001F5B4 File Offset: 0x0001D7B4
|
|
[ExcludeFromDocs]
|
|
public static bool Raycast(Ray ray, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.Raycast(ray, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001949 RID: 6473 RVA: 0x0001F5D4 File Offset: 0x0001D7D4
|
|
[ExcludeFromDocs]
|
|
public static bool Raycast(Ray ray, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.Raycast(ray, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600194A RID: 6474 RVA: 0x0001F5F8 File Offset: 0x0001D7F8
|
|
[ExcludeFromDocs]
|
|
public static bool Raycast(Ray ray)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.Raycast(ray, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600194B RID: 6475 RVA: 0x0001F624 File Offset: 0x0001D824
|
|
public static bool Raycast(Ray ray, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.Raycast(ray.origin, ray.direction, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600194C RID: 6476 RVA: 0x0001F650 File Offset: 0x0001D850
|
|
[ExcludeFromDocs]
|
|
public static bool Raycast(Ray ray, out RaycastHit hitInfo, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.Raycast(ray, out hitInfo, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600194D RID: 6477 RVA: 0x0001F674 File Offset: 0x0001D874
|
|
[ExcludeFromDocs]
|
|
public static bool Raycast(Ray ray, out RaycastHit hitInfo, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.Raycast(ray, out hitInfo, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600194E RID: 6478 RVA: 0x0001F698 File Offset: 0x0001D898
|
|
[ExcludeFromDocs]
|
|
public static bool Raycast(Ray ray, out RaycastHit hitInfo)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.Raycast(ray, out hitInfo, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600194F RID: 6479 RVA: 0x0001F6C4 File Offset: 0x0001D8C4
|
|
public static bool Raycast(Ray ray, out RaycastHit hitInfo, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.Raycast(ray.origin, ray.direction, out hitInfo, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001950 RID: 6480 RVA: 0x0001F6F4 File Offset: 0x0001D8F4
|
|
[RequiredByNativeCode]
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] RaycastAll(Ray ray, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.RaycastAll(ray, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001951 RID: 6481 RVA: 0x0001F714 File Offset: 0x0001D914
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] RaycastAll(Ray ray, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.RaycastAll(ray, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001952 RID: 6482 RVA: 0x0001F738 File Offset: 0x0001D938
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] RaycastAll(Ray ray)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.RaycastAll(ray, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001953 RID: 6483 RVA: 0x0001F764 File Offset: 0x0001D964
|
|
public static RaycastHit[] RaycastAll(Ray ray, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.RaycastAll(ray.origin, ray.direction, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001954 RID: 6484 RVA: 0x0001F790 File Offset: 0x0001D990
|
|
public static RaycastHit[] RaycastAll(Vector3 origin, Vector3 direction, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layermask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_RaycastAll(ref origin, ref direction, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001955 RID: 6485 RVA: 0x0001F7B4 File Offset: 0x0001D9B4
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] RaycastAll(Vector3 origin, Vector3 direction, float maxDistance, int layermask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.INTERNAL_CALL_RaycastAll(ref origin, ref direction, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001956 RID: 6486 RVA: 0x0001F7D8 File Offset: 0x0001D9D8
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] RaycastAll(Vector3 origin, Vector3 direction, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.INTERNAL_CALL_RaycastAll(ref origin, ref direction, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001957 RID: 6487 RVA: 0x0001F800 File Offset: 0x0001DA00
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] RaycastAll(Vector3 origin, Vector3 direction)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.INTERNAL_CALL_RaycastAll(ref origin, ref direction, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001958 RID: 6488
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern RaycastHit[] INTERNAL_CALL_RaycastAll(ref Vector3 origin, ref Vector3 direction, float maxDistance, int layermask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x06001959 RID: 6489 RVA: 0x0001F82C File Offset: 0x0001DA2C
|
|
[ExcludeFromDocs]
|
|
public static int RaycastNonAlloc(Ray ray, RaycastHit[] results, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.RaycastNonAlloc(ray, results, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600195A RID: 6490 RVA: 0x0001F850 File Offset: 0x0001DA50
|
|
[ExcludeFromDocs]
|
|
public static int RaycastNonAlloc(Ray ray, RaycastHit[] results, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.RaycastNonAlloc(ray, results, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600195B RID: 6491 RVA: 0x0001F874 File Offset: 0x0001DA74
|
|
[ExcludeFromDocs]
|
|
public static int RaycastNonAlloc(Ray ray, RaycastHit[] results)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.RaycastNonAlloc(ray, results, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600195C RID: 6492 RVA: 0x0001F8A0 File Offset: 0x0001DAA0
|
|
public static int RaycastNonAlloc(Ray ray, RaycastHit[] results, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.RaycastNonAlloc(ray.origin, ray.direction, results, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600195D RID: 6493 RVA: 0x0001F8D0 File Offset: 0x0001DAD0
|
|
public static int RaycastNonAlloc(Vector3 origin, Vector3 direction, RaycastHit[] results, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layermask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_RaycastNonAlloc(ref origin, ref direction, results, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600195E RID: 6494 RVA: 0x0001F8F4 File Offset: 0x0001DAF4
|
|
[ExcludeFromDocs]
|
|
public static int RaycastNonAlloc(Vector3 origin, Vector3 direction, RaycastHit[] results, float maxDistance, int layermask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.INTERNAL_CALL_RaycastNonAlloc(ref origin, ref direction, results, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600195F RID: 6495 RVA: 0x0001F91C File Offset: 0x0001DB1C
|
|
[ExcludeFromDocs]
|
|
public static int RaycastNonAlloc(Vector3 origin, Vector3 direction, RaycastHit[] results, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.INTERNAL_CALL_RaycastNonAlloc(ref origin, ref direction, results, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001960 RID: 6496 RVA: 0x0001F944 File Offset: 0x0001DB44
|
|
[ExcludeFromDocs]
|
|
public static int RaycastNonAlloc(Vector3 origin, Vector3 direction, RaycastHit[] results)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.INTERNAL_CALL_RaycastNonAlloc(ref origin, ref direction, results, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001961 RID: 6497
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern int INTERNAL_CALL_RaycastNonAlloc(ref Vector3 origin, ref Vector3 direction, RaycastHit[] results, float maxDistance, int layermask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x06001962 RID: 6498 RVA: 0x0001F974 File Offset: 0x0001DB74
|
|
[ExcludeFromDocs]
|
|
public static bool Linecast(Vector3 start, Vector3 end, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.Linecast(start, end, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001963 RID: 6499 RVA: 0x0001F994 File Offset: 0x0001DB94
|
|
[ExcludeFromDocs]
|
|
public static bool Linecast(Vector3 start, Vector3 end)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.Linecast(start, end, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001964 RID: 6500 RVA: 0x0001F9B8 File Offset: 0x0001DBB8
|
|
public static bool Linecast(Vector3 start, Vector3 end, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
Vector3 vector = end - start;
|
|
return Physics.Raycast(start, vector, vector.magnitude, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001965 RID: 6501 RVA: 0x0001F9E8 File Offset: 0x0001DBE8
|
|
[ExcludeFromDocs]
|
|
public static bool Linecast(Vector3 start, Vector3 end, out RaycastHit hitInfo, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.Linecast(start, end, out hitInfo, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001966 RID: 6502 RVA: 0x0001FA0C File Offset: 0x0001DC0C
|
|
[ExcludeFromDocs]
|
|
public static bool Linecast(Vector3 start, Vector3 end, out RaycastHit hitInfo)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.Linecast(start, end, out hitInfo, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001967 RID: 6503 RVA: 0x0001FA30 File Offset: 0x0001DC30
|
|
public static bool Linecast(Vector3 start, Vector3 end, out RaycastHit hitInfo, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
Vector3 vector = end - start;
|
|
return Physics.Raycast(start, vector, out hitInfo, vector.magnitude, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001968 RID: 6504 RVA: 0x0001FA60 File Offset: 0x0001DC60
|
|
public static Collider[] OverlapSphere(Vector3 position, float radius, [DefaultValue("AllLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_OverlapSphere(ref position, radius, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001969 RID: 6505 RVA: 0x0001FA80 File Offset: 0x0001DC80
|
|
[ExcludeFromDocs]
|
|
public static Collider[] OverlapSphere(Vector3 position, float radius, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.INTERNAL_CALL_OverlapSphere(ref position, radius, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600196A RID: 6506 RVA: 0x0001FAA4 File Offset: 0x0001DCA4
|
|
[ExcludeFromDocs]
|
|
public static Collider[] OverlapSphere(Vector3 position, float radius)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -1;
|
|
return Physics.INTERNAL_CALL_OverlapSphere(ref position, radius, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600196B RID: 6507
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern Collider[] INTERNAL_CALL_OverlapSphere(ref Vector3 position, float radius, int layerMask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x0600196C RID: 6508 RVA: 0x0001FAC8 File Offset: 0x0001DCC8
|
|
public static int OverlapSphereNonAlloc(Vector3 position, float radius, Collider[] results, [DefaultValue("AllLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_OverlapSphereNonAlloc(ref position, radius, results, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600196D RID: 6509 RVA: 0x0001FAEC File Offset: 0x0001DCEC
|
|
[ExcludeFromDocs]
|
|
public static int OverlapSphereNonAlloc(Vector3 position, float radius, Collider[] results, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.INTERNAL_CALL_OverlapSphereNonAlloc(ref position, radius, results, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600196E RID: 6510 RVA: 0x0001FB10 File Offset: 0x0001DD10
|
|
[ExcludeFromDocs]
|
|
public static int OverlapSphereNonAlloc(Vector3 position, float radius, Collider[] results)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -1;
|
|
return Physics.INTERNAL_CALL_OverlapSphereNonAlloc(ref position, radius, results, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600196F RID: 6511
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern int INTERNAL_CALL_OverlapSphereNonAlloc(ref Vector3 position, float radius, Collider[] results, int layerMask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x06001970 RID: 6512 RVA: 0x0001FB34 File Offset: 0x0001DD34
|
|
public static Collider[] OverlapCapsule(Vector3 point0, Vector3 point1, float radius, [DefaultValue("AllLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_OverlapCapsule(ref point0, ref point1, radius, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001971 RID: 6513 RVA: 0x0001FB58 File Offset: 0x0001DD58
|
|
[ExcludeFromDocs]
|
|
public static Collider[] OverlapCapsule(Vector3 point0, Vector3 point1, float radius, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.INTERNAL_CALL_OverlapCapsule(ref point0, ref point1, radius, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001972 RID: 6514 RVA: 0x0001FB7C File Offset: 0x0001DD7C
|
|
[ExcludeFromDocs]
|
|
public static Collider[] OverlapCapsule(Vector3 point0, Vector3 point1, float radius)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -1;
|
|
return Physics.INTERNAL_CALL_OverlapCapsule(ref point0, ref point1, radius, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001973 RID: 6515
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern Collider[] INTERNAL_CALL_OverlapCapsule(ref Vector3 point0, ref Vector3 point1, float radius, int layerMask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x06001974 RID: 6516 RVA: 0x0001FBA4 File Offset: 0x0001DDA4
|
|
public static int OverlapCapsuleNonAlloc(Vector3 point0, Vector3 point1, float radius, Collider[] results, [DefaultValue("AllLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_OverlapCapsuleNonAlloc(ref point0, ref point1, radius, results, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001975 RID: 6517 RVA: 0x0001FBC8 File Offset: 0x0001DDC8
|
|
[ExcludeFromDocs]
|
|
public static int OverlapCapsuleNonAlloc(Vector3 point0, Vector3 point1, float radius, Collider[] results, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.INTERNAL_CALL_OverlapCapsuleNonAlloc(ref point0, ref point1, radius, results, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001976 RID: 6518 RVA: 0x0001FBF0 File Offset: 0x0001DDF0
|
|
[ExcludeFromDocs]
|
|
public static int OverlapCapsuleNonAlloc(Vector3 point0, Vector3 point1, float radius, Collider[] results)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -1;
|
|
return Physics.INTERNAL_CALL_OverlapCapsuleNonAlloc(ref point0, ref point1, radius, results, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001977 RID: 6519
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern int INTERNAL_CALL_OverlapCapsuleNonAlloc(ref Vector3 point0, ref Vector3 point1, float radius, Collider[] results, int layerMask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x06001978 RID: 6520 RVA: 0x0001FC18 File Offset: 0x0001DE18
|
|
[ExcludeFromDocs]
|
|
public static bool CapsuleCast(Vector3 point1, Vector3 point2, float radius, Vector3 direction, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.CapsuleCast(point1, point2, radius, direction, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001979 RID: 6521 RVA: 0x0001FC40 File Offset: 0x0001DE40
|
|
[ExcludeFromDocs]
|
|
public static bool CapsuleCast(Vector3 point1, Vector3 point2, float radius, Vector3 direction, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.CapsuleCast(point1, point2, radius, direction, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600197A RID: 6522 RVA: 0x0001FC68 File Offset: 0x0001DE68
|
|
[ExcludeFromDocs]
|
|
public static bool CapsuleCast(Vector3 point1, Vector3 point2, float radius, Vector3 direction)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.CapsuleCast(point1, point2, radius, direction, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600197B RID: 6523 RVA: 0x0001FC94 File Offset: 0x0001DE94
|
|
public static bool CapsuleCast(Vector3 point1, Vector3 point2, float radius, Vector3 direction, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
RaycastHit raycastHit;
|
|
return Physics.Internal_CapsuleCast(point1, point2, radius, direction, out raycastHit, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600197C RID: 6524 RVA: 0x0001FCBC File Offset: 0x0001DEBC
|
|
[ExcludeFromDocs]
|
|
public static bool CapsuleCast(Vector3 point1, Vector3 point2, float radius, Vector3 direction, out RaycastHit hitInfo, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.CapsuleCast(point1, point2, radius, direction, out hitInfo, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600197D RID: 6525 RVA: 0x0001FCE4 File Offset: 0x0001DEE4
|
|
[ExcludeFromDocs]
|
|
public static bool CapsuleCast(Vector3 point1, Vector3 point2, float radius, Vector3 direction, out RaycastHit hitInfo, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.CapsuleCast(point1, point2, radius, direction, out hitInfo, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600197E RID: 6526 RVA: 0x0001FD10 File Offset: 0x0001DF10
|
|
[ExcludeFromDocs]
|
|
public static bool CapsuleCast(Vector3 point1, Vector3 point2, float radius, Vector3 direction, out RaycastHit hitInfo)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.CapsuleCast(point1, point2, radius, direction, out hitInfo, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600197F RID: 6527 RVA: 0x0001FD40 File Offset: 0x0001DF40
|
|
public static bool CapsuleCast(Vector3 point1, Vector3 point2, float radius, Vector3 direction, out RaycastHit hitInfo, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.Internal_CapsuleCast(point1, point2, radius, direction, out hitInfo, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001980 RID: 6528 RVA: 0x0001FD68 File Offset: 0x0001DF68
|
|
[ExcludeFromDocs]
|
|
public static bool SphereCast(Vector3 origin, float radius, Vector3 direction, out RaycastHit hitInfo, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.SphereCast(origin, radius, direction, out hitInfo, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001981 RID: 6529 RVA: 0x0001FD90 File Offset: 0x0001DF90
|
|
[ExcludeFromDocs]
|
|
public static bool SphereCast(Vector3 origin, float radius, Vector3 direction, out RaycastHit hitInfo, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.SphereCast(origin, radius, direction, out hitInfo, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001982 RID: 6530 RVA: 0x0001FDB8 File Offset: 0x0001DFB8
|
|
[ExcludeFromDocs]
|
|
public static bool SphereCast(Vector3 origin, float radius, Vector3 direction, out RaycastHit hitInfo)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.SphereCast(origin, radius, direction, out hitInfo, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001983 RID: 6531 RVA: 0x0001FDE4 File Offset: 0x0001DFE4
|
|
public static bool SphereCast(Vector3 origin, float radius, Vector3 direction, out RaycastHit hitInfo, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.Internal_CapsuleCast(origin, origin, radius, direction, out hitInfo, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001984 RID: 6532 RVA: 0x0001FE0C File Offset: 0x0001E00C
|
|
[ExcludeFromDocs]
|
|
public static bool SphereCast(Ray ray, float radius, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.SphereCast(ray, radius, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001985 RID: 6533 RVA: 0x0001FE30 File Offset: 0x0001E030
|
|
[ExcludeFromDocs]
|
|
public static bool SphereCast(Ray ray, float radius, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.SphereCast(ray, radius, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001986 RID: 6534 RVA: 0x0001FE54 File Offset: 0x0001E054
|
|
[ExcludeFromDocs]
|
|
public static bool SphereCast(Ray ray, float radius)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.SphereCast(ray, radius, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001987 RID: 6535 RVA: 0x0001FE80 File Offset: 0x0001E080
|
|
public static bool SphereCast(Ray ray, float radius, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
RaycastHit raycastHit;
|
|
return Physics.Internal_CapsuleCast(ray.origin, ray.origin, radius, ray.direction, out raycastHit, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001988 RID: 6536 RVA: 0x0001FEB8 File Offset: 0x0001E0B8
|
|
[ExcludeFromDocs]
|
|
public static bool SphereCast(Ray ray, float radius, out RaycastHit hitInfo, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.SphereCast(ray, radius, out hitInfo, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001989 RID: 6537 RVA: 0x0001FEDC File Offset: 0x0001E0DC
|
|
[ExcludeFromDocs]
|
|
public static bool SphereCast(Ray ray, float radius, out RaycastHit hitInfo, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.SphereCast(ray, radius, out hitInfo, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600198A RID: 6538 RVA: 0x0001FF04 File Offset: 0x0001E104
|
|
[ExcludeFromDocs]
|
|
public static bool SphereCast(Ray ray, float radius, out RaycastHit hitInfo)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.SphereCast(ray, radius, out hitInfo, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600198B RID: 6539 RVA: 0x0001FF30 File Offset: 0x0001E130
|
|
public static bool SphereCast(Ray ray, float radius, out RaycastHit hitInfo, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.Internal_CapsuleCast(ray.origin, ray.origin, radius, ray.direction, out hitInfo, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600198C RID: 6540 RVA: 0x0001FF68 File Offset: 0x0001E168
|
|
public static RaycastHit[] CapsuleCastAll(Vector3 point1, Vector3 point2, float radius, Vector3 direction, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layermask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_CapsuleCastAll(ref point1, ref point2, radius, ref direction, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600198D RID: 6541 RVA: 0x0001FF90 File Offset: 0x0001E190
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] CapsuleCastAll(Vector3 point1, Vector3 point2, float radius, Vector3 direction, float maxDistance, int layermask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.INTERNAL_CALL_CapsuleCastAll(ref point1, ref point2, radius, ref direction, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600198E RID: 6542 RVA: 0x0001FFB8 File Offset: 0x0001E1B8
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] CapsuleCastAll(Vector3 point1, Vector3 point2, float radius, Vector3 direction, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.INTERNAL_CALL_CapsuleCastAll(ref point1, ref point2, radius, ref direction, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600198F RID: 6543 RVA: 0x0001FFE4 File Offset: 0x0001E1E4
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] CapsuleCastAll(Vector3 point1, Vector3 point2, float radius, Vector3 direction)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.INTERNAL_CALL_CapsuleCastAll(ref point1, ref point2, radius, ref direction, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001990 RID: 6544
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern RaycastHit[] INTERNAL_CALL_CapsuleCastAll(ref Vector3 point1, ref Vector3 point2, float radius, ref Vector3 direction, float maxDistance, int layermask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x06001991 RID: 6545 RVA: 0x00020014 File Offset: 0x0001E214
|
|
public static int CapsuleCastNonAlloc(Vector3 point1, Vector3 point2, float radius, Vector3 direction, RaycastHit[] results, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layermask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_CapsuleCastNonAlloc(ref point1, ref point2, radius, ref direction, results, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001992 RID: 6546 RVA: 0x00020040 File Offset: 0x0001E240
|
|
[ExcludeFromDocs]
|
|
public static int CapsuleCastNonAlloc(Vector3 point1, Vector3 point2, float radius, Vector3 direction, RaycastHit[] results, float maxDistance, int layermask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.INTERNAL_CALL_CapsuleCastNonAlloc(ref point1, ref point2, radius, ref direction, results, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001993 RID: 6547 RVA: 0x0002006C File Offset: 0x0001E26C
|
|
[ExcludeFromDocs]
|
|
public static int CapsuleCastNonAlloc(Vector3 point1, Vector3 point2, float radius, Vector3 direction, RaycastHit[] results, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.INTERNAL_CALL_CapsuleCastNonAlloc(ref point1, ref point2, radius, ref direction, results, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001994 RID: 6548 RVA: 0x00020098 File Offset: 0x0001E298
|
|
[ExcludeFromDocs]
|
|
public static int CapsuleCastNonAlloc(Vector3 point1, Vector3 point2, float radius, Vector3 direction, RaycastHit[] results)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.INTERNAL_CALL_CapsuleCastNonAlloc(ref point1, ref point2, radius, ref direction, results, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001995 RID: 6549
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern int INTERNAL_CALL_CapsuleCastNonAlloc(ref Vector3 point1, ref Vector3 point2, float radius, ref Vector3 direction, RaycastHit[] results, float maxDistance, int layermask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x06001996 RID: 6550 RVA: 0x000200CC File Offset: 0x0001E2CC
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] SphereCastAll(Vector3 origin, float radius, Vector3 direction, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.SphereCastAll(origin, radius, direction, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001997 RID: 6551 RVA: 0x000200F0 File Offset: 0x0001E2F0
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] SphereCastAll(Vector3 origin, float radius, Vector3 direction, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.SphereCastAll(origin, radius, direction, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001998 RID: 6552 RVA: 0x00020118 File Offset: 0x0001E318
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] SphereCastAll(Vector3 origin, float radius, Vector3 direction)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.SphereCastAll(origin, radius, direction, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x06001999 RID: 6553 RVA: 0x00020144 File Offset: 0x0001E344
|
|
public static RaycastHit[] SphereCastAll(Vector3 origin, float radius, Vector3 direction, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.CapsuleCastAll(origin, origin, radius, direction, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600199A RID: 6554 RVA: 0x00020168 File Offset: 0x0001E368
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] SphereCastAll(Ray ray, float radius, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.SphereCastAll(ray, radius, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600199B RID: 6555 RVA: 0x0002018C File Offset: 0x0001E38C
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] SphereCastAll(Ray ray, float radius, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.SphereCastAll(ray, radius, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600199C RID: 6556 RVA: 0x000201B0 File Offset: 0x0001E3B0
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] SphereCastAll(Ray ray, float radius)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.SphereCastAll(ray, radius, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600199D RID: 6557 RVA: 0x000201DC File Offset: 0x0001E3DC
|
|
public static RaycastHit[] SphereCastAll(Ray ray, float radius, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.CapsuleCastAll(ray.origin, ray.origin, radius, ray.direction, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600199E RID: 6558 RVA: 0x00020210 File Offset: 0x0001E410
|
|
[ExcludeFromDocs]
|
|
public static int SphereCastNonAlloc(Vector3 origin, float radius, Vector3 direction, RaycastHit[] results, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.SphereCastNonAlloc(origin, radius, direction, results, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x0600199F RID: 6559 RVA: 0x00020238 File Offset: 0x0001E438
|
|
[ExcludeFromDocs]
|
|
public static int SphereCastNonAlloc(Vector3 origin, float radius, Vector3 direction, RaycastHit[] results, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.SphereCastNonAlloc(origin, radius, direction, results, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019A0 RID: 6560 RVA: 0x00020260 File Offset: 0x0001E460
|
|
[ExcludeFromDocs]
|
|
public static int SphereCastNonAlloc(Vector3 origin, float radius, Vector3 direction, RaycastHit[] results)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.SphereCastNonAlloc(origin, radius, direction, results, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019A1 RID: 6561 RVA: 0x0002028C File Offset: 0x0001E48C
|
|
public static int SphereCastNonAlloc(Vector3 origin, float radius, Vector3 direction, RaycastHit[] results, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.CapsuleCastNonAlloc(origin, origin, radius, direction, results, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019A2 RID: 6562 RVA: 0x000202B4 File Offset: 0x0001E4B4
|
|
[ExcludeFromDocs]
|
|
public static int SphereCastNonAlloc(Ray ray, float radius, RaycastHit[] results, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.SphereCastNonAlloc(ray, radius, results, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019A3 RID: 6563 RVA: 0x000202D8 File Offset: 0x0001E4D8
|
|
[ExcludeFromDocs]
|
|
public static int SphereCastNonAlloc(Ray ray, float radius, RaycastHit[] results, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.SphereCastNonAlloc(ray, radius, results, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019A4 RID: 6564 RVA: 0x00020300 File Offset: 0x0001E500
|
|
[ExcludeFromDocs]
|
|
public static int SphereCastNonAlloc(Ray ray, float radius, RaycastHit[] results)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.SphereCastNonAlloc(ray, radius, results, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019A5 RID: 6565 RVA: 0x0002032C File Offset: 0x0001E52C
|
|
public static int SphereCastNonAlloc(Ray ray, float radius, RaycastHit[] results, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.CapsuleCastNonAlloc(ray.origin, ray.origin, radius, ray.direction, results, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019A6 RID: 6566 RVA: 0x00020364 File Offset: 0x0001E564
|
|
public static bool CheckSphere(Vector3 position, float radius, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_CheckSphere(ref position, radius, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019A7 RID: 6567 RVA: 0x00020384 File Offset: 0x0001E584
|
|
[ExcludeFromDocs]
|
|
public static bool CheckSphere(Vector3 position, float radius, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.INTERNAL_CALL_CheckSphere(ref position, radius, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019A8 RID: 6568 RVA: 0x000203A8 File Offset: 0x0001E5A8
|
|
[ExcludeFromDocs]
|
|
public static bool CheckSphere(Vector3 position, float radius)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.INTERNAL_CALL_CheckSphere(ref position, radius, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019A9 RID: 6569
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern bool INTERNAL_CALL_CheckSphere(ref Vector3 position, float radius, int layerMask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x060019AA RID: 6570 RVA: 0x000203CC File Offset: 0x0001E5CC
|
|
public static bool CheckCapsule(Vector3 start, Vector3 end, float radius, [DefaultValue("DefaultRaycastLayers")] int layermask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_CheckCapsule(ref start, ref end, radius, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019AB RID: 6571 RVA: 0x000203F0 File Offset: 0x0001E5F0
|
|
[ExcludeFromDocs]
|
|
public static bool CheckCapsule(Vector3 start, Vector3 end, float radius, int layermask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.INTERNAL_CALL_CheckCapsule(ref start, ref end, radius, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019AC RID: 6572 RVA: 0x00020414 File Offset: 0x0001E614
|
|
[ExcludeFromDocs]
|
|
public static bool CheckCapsule(Vector3 start, Vector3 end, float radius)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.INTERNAL_CALL_CheckCapsule(ref start, ref end, radius, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019AD RID: 6573
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern bool INTERNAL_CALL_CheckCapsule(ref Vector3 start, ref Vector3 end, float radius, int layermask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x060019AE RID: 6574 RVA: 0x0002043C File Offset: 0x0001E63C
|
|
public static bool CheckBox(Vector3 center, Vector3 halfExtents, [DefaultValue("Quaternion.identity")] Quaternion orientation, [DefaultValue("DefaultRaycastLayers")] int layermask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_CheckBox(ref center, ref halfExtents, ref orientation, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019AF RID: 6575 RVA: 0x00020460 File Offset: 0x0001E660
|
|
[ExcludeFromDocs]
|
|
public static bool CheckBox(Vector3 center, Vector3 halfExtents, Quaternion orientation, int layermask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.INTERNAL_CALL_CheckBox(ref center, ref halfExtents, ref orientation, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019B0 RID: 6576 RVA: 0x00020484 File Offset: 0x0001E684
|
|
[ExcludeFromDocs]
|
|
public static bool CheckBox(Vector3 center, Vector3 halfExtents, Quaternion orientation)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.INTERNAL_CALL_CheckBox(ref center, ref halfExtents, ref orientation, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019B1 RID: 6577 RVA: 0x000204AC File Offset: 0x0001E6AC
|
|
[ExcludeFromDocs]
|
|
public static bool CheckBox(Vector3 center, Vector3 halfExtents)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
Quaternion identity = Quaternion.identity;
|
|
return Physics.INTERNAL_CALL_CheckBox(ref center, ref halfExtents, ref identity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019B2 RID: 6578
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern bool INTERNAL_CALL_CheckBox(ref Vector3 center, ref Vector3 halfExtents, ref Quaternion orientation, int layermask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x060019B3 RID: 6579 RVA: 0x000204DC File Offset: 0x0001E6DC
|
|
public static Collider[] OverlapBox(Vector3 center, Vector3 halfExtents, [DefaultValue("Quaternion.identity")] Quaternion orientation, [DefaultValue("AllLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_OverlapBox(ref center, ref halfExtents, ref orientation, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019B4 RID: 6580 RVA: 0x00020500 File Offset: 0x0001E700
|
|
[ExcludeFromDocs]
|
|
public static Collider[] OverlapBox(Vector3 center, Vector3 halfExtents, Quaternion orientation, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.INTERNAL_CALL_OverlapBox(ref center, ref halfExtents, ref orientation, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019B5 RID: 6581 RVA: 0x00020524 File Offset: 0x0001E724
|
|
[ExcludeFromDocs]
|
|
public static Collider[] OverlapBox(Vector3 center, Vector3 halfExtents, Quaternion orientation)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -1;
|
|
return Physics.INTERNAL_CALL_OverlapBox(ref center, ref halfExtents, ref orientation, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019B6 RID: 6582 RVA: 0x0002054C File Offset: 0x0001E74C
|
|
[ExcludeFromDocs]
|
|
public static Collider[] OverlapBox(Vector3 center, Vector3 halfExtents)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -1;
|
|
Quaternion identity = Quaternion.identity;
|
|
return Physics.INTERNAL_CALL_OverlapBox(ref center, ref halfExtents, ref identity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019B7 RID: 6583
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern Collider[] INTERNAL_CALL_OverlapBox(ref Vector3 center, ref Vector3 halfExtents, ref Quaternion orientation, int layerMask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x060019B8 RID: 6584 RVA: 0x00020578 File Offset: 0x0001E778
|
|
public static int OverlapBoxNonAlloc(Vector3 center, Vector3 halfExtents, Collider[] results, [DefaultValue("Quaternion.identity")] Quaternion orientation, [DefaultValue("AllLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_OverlapBoxNonAlloc(ref center, ref halfExtents, results, ref orientation, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019B9 RID: 6585 RVA: 0x000205A0 File Offset: 0x0001E7A0
|
|
[ExcludeFromDocs]
|
|
public static int OverlapBoxNonAlloc(Vector3 center, Vector3 halfExtents, Collider[] results, Quaternion orientation, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.INTERNAL_CALL_OverlapBoxNonAlloc(ref center, ref halfExtents, results, ref orientation, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019BA RID: 6586 RVA: 0x000205C8 File Offset: 0x0001E7C8
|
|
[ExcludeFromDocs]
|
|
public static int OverlapBoxNonAlloc(Vector3 center, Vector3 halfExtents, Collider[] results, Quaternion orientation)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -1;
|
|
return Physics.INTERNAL_CALL_OverlapBoxNonAlloc(ref center, ref halfExtents, results, ref orientation, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019BB RID: 6587 RVA: 0x000205F0 File Offset: 0x0001E7F0
|
|
[ExcludeFromDocs]
|
|
public static int OverlapBoxNonAlloc(Vector3 center, Vector3 halfExtents, Collider[] results)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -1;
|
|
Quaternion identity = Quaternion.identity;
|
|
return Physics.INTERNAL_CALL_OverlapBoxNonAlloc(ref center, ref halfExtents, results, ref identity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019BC RID: 6588
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern int INTERNAL_CALL_OverlapBoxNonAlloc(ref Vector3 center, ref Vector3 halfExtents, Collider[] results, ref Quaternion orientation, int layerMask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x060019BD RID: 6589 RVA: 0x00020620 File Offset: 0x0001E820
|
|
public static RaycastHit[] BoxCastAll(Vector3 center, Vector3 halfExtents, Vector3 direction, [DefaultValue("Quaternion.identity")] Quaternion orientation, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layermask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_BoxCastAll(ref center, ref halfExtents, ref direction, ref orientation, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019BE RID: 6590 RVA: 0x00020648 File Offset: 0x0001E848
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] BoxCastAll(Vector3 center, Vector3 halfExtents, Vector3 direction, Quaternion orientation, float maxDistance, int layermask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.INTERNAL_CALL_BoxCastAll(ref center, ref halfExtents, ref direction, ref orientation, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019BF RID: 6591 RVA: 0x00020674 File Offset: 0x0001E874
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] BoxCastAll(Vector3 center, Vector3 halfExtents, Vector3 direction, Quaternion orientation, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.INTERNAL_CALL_BoxCastAll(ref center, ref halfExtents, ref direction, ref orientation, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019C0 RID: 6592 RVA: 0x000206A0 File Offset: 0x0001E8A0
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] BoxCastAll(Vector3 center, Vector3 halfExtents, Vector3 direction, Quaternion orientation)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.INTERNAL_CALL_BoxCastAll(ref center, ref halfExtents, ref direction, ref orientation, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019C1 RID: 6593 RVA: 0x000206D0 File Offset: 0x0001E8D0
|
|
[ExcludeFromDocs]
|
|
public static RaycastHit[] BoxCastAll(Vector3 center, Vector3 halfExtents, Vector3 direction)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
Quaternion identity = Quaternion.identity;
|
|
return Physics.INTERNAL_CALL_BoxCastAll(ref center, ref halfExtents, ref direction, ref identity, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019C2 RID: 6594
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern RaycastHit[] INTERNAL_CALL_BoxCastAll(ref Vector3 center, ref Vector3 halfExtents, ref Vector3 direction, ref Quaternion orientation, float maxDistance, int layermask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x060019C3 RID: 6595 RVA: 0x00020708 File Offset: 0x0001E908
|
|
public static int BoxCastNonAlloc(Vector3 center, Vector3 halfExtents, Vector3 direction, RaycastHit[] results, [DefaultValue("Quaternion.identity")] Quaternion orientation, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layermask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_BoxCastNonAlloc(ref center, ref halfExtents, ref direction, results, ref orientation, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019C4 RID: 6596 RVA: 0x00020734 File Offset: 0x0001E934
|
|
[ExcludeFromDocs]
|
|
public static int BoxCastNonAlloc(Vector3 center, Vector3 halfExtents, Vector3 direction, RaycastHit[] results, Quaternion orientation, float maxDistance, int layermask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.INTERNAL_CALL_BoxCastNonAlloc(ref center, ref halfExtents, ref direction, results, ref orientation, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019C5 RID: 6597 RVA: 0x00020760 File Offset: 0x0001E960
|
|
[ExcludeFromDocs]
|
|
public static int BoxCastNonAlloc(Vector3 center, Vector3 halfExtents, Vector3 direction, RaycastHit[] results, Quaternion orientation, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.INTERNAL_CALL_BoxCastNonAlloc(ref center, ref halfExtents, ref direction, results, ref orientation, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019C6 RID: 6598 RVA: 0x0002078C File Offset: 0x0001E98C
|
|
[ExcludeFromDocs]
|
|
public static int BoxCastNonAlloc(Vector3 center, Vector3 halfExtents, Vector3 direction, RaycastHit[] results, Quaternion orientation)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.INTERNAL_CALL_BoxCastNonAlloc(ref center, ref halfExtents, ref direction, results, ref orientation, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019C7 RID: 6599 RVA: 0x000207C0 File Offset: 0x0001E9C0
|
|
[ExcludeFromDocs]
|
|
public static int BoxCastNonAlloc(Vector3 center, Vector3 halfExtents, Vector3 direction, RaycastHit[] results)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
Quaternion identity = Quaternion.identity;
|
|
return Physics.INTERNAL_CALL_BoxCastNonAlloc(ref center, ref halfExtents, ref direction, results, ref identity, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019C8 RID: 6600
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern int INTERNAL_CALL_BoxCastNonAlloc(ref Vector3 center, ref Vector3 halfExtents, ref Vector3 direction, RaycastHit[] results, ref Quaternion orientation, float maxDistance, int layermask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x060019C9 RID: 6601 RVA: 0x000207FC File Offset: 0x0001E9FC
|
|
private static bool Internal_BoxCast(Vector3 center, Vector3 halfExtents, Quaternion orientation, Vector3 direction, out RaycastHit hitInfo, float maxDistance, int layermask, QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_Internal_BoxCast(ref center, ref halfExtents, ref orientation, ref direction, out hitInfo, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019CA RID: 6602
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern bool INTERNAL_CALL_Internal_BoxCast(ref Vector3 center, ref Vector3 halfExtents, ref Quaternion orientation, ref Vector3 direction, out RaycastHit hitInfo, float maxDistance, int layermask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x060019CB RID: 6603 RVA: 0x00020828 File Offset: 0x0001EA28
|
|
[ExcludeFromDocs]
|
|
public static bool BoxCast(Vector3 center, Vector3 halfExtents, Vector3 direction, Quaternion orientation, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.BoxCast(center, halfExtents, direction, orientation, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019CC RID: 6604 RVA: 0x00020850 File Offset: 0x0001EA50
|
|
[ExcludeFromDocs]
|
|
public static bool BoxCast(Vector3 center, Vector3 halfExtents, Vector3 direction, Quaternion orientation, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.BoxCast(center, halfExtents, direction, orientation, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019CD RID: 6605 RVA: 0x00020878 File Offset: 0x0001EA78
|
|
[ExcludeFromDocs]
|
|
public static bool BoxCast(Vector3 center, Vector3 halfExtents, Vector3 direction, Quaternion orientation)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.BoxCast(center, halfExtents, direction, orientation, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019CE RID: 6606 RVA: 0x000208A4 File Offset: 0x0001EAA4
|
|
[ExcludeFromDocs]
|
|
public static bool BoxCast(Vector3 center, Vector3 halfExtents, Vector3 direction)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
Quaternion identity = Quaternion.identity;
|
|
return Physics.BoxCast(center, halfExtents, direction, identity, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019CF RID: 6607 RVA: 0x000208D8 File Offset: 0x0001EAD8
|
|
public static bool BoxCast(Vector3 center, Vector3 halfExtents, Vector3 direction, [DefaultValue("Quaternion.identity")] Quaternion orientation, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
RaycastHit raycastHit;
|
|
return Physics.Internal_BoxCast(center, halfExtents, orientation, direction, out raycastHit, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019D0 RID: 6608 RVA: 0x00020900 File Offset: 0x0001EB00
|
|
[ExcludeFromDocs]
|
|
public static bool BoxCast(Vector3 center, Vector3 halfExtents, Vector3 direction, out RaycastHit hitInfo, Quaternion orientation, float maxDistance, int layerMask)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
return Physics.BoxCast(center, halfExtents, direction, out hitInfo, orientation, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019D1 RID: 6609 RVA: 0x00020928 File Offset: 0x0001EB28
|
|
[ExcludeFromDocs]
|
|
public static bool BoxCast(Vector3 center, Vector3 halfExtents, Vector3 direction, out RaycastHit hitInfo, Quaternion orientation, float maxDistance)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
return Physics.BoxCast(center, halfExtents, direction, out hitInfo, orientation, maxDistance, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019D2 RID: 6610 RVA: 0x00020954 File Offset: 0x0001EB54
|
|
[ExcludeFromDocs]
|
|
public static bool BoxCast(Vector3 center, Vector3 halfExtents, Vector3 direction, out RaycastHit hitInfo, Quaternion orientation)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
return Physics.BoxCast(center, halfExtents, direction, out hitInfo, orientation, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019D3 RID: 6611 RVA: 0x00020984 File Offset: 0x0001EB84
|
|
[ExcludeFromDocs]
|
|
public static bool BoxCast(Vector3 center, Vector3 halfExtents, Vector3 direction, out RaycastHit hitInfo)
|
|
{
|
|
QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal;
|
|
int num = -5;
|
|
float positiveInfinity = float.PositiveInfinity;
|
|
Quaternion identity = Quaternion.identity;
|
|
return Physics.BoxCast(center, halfExtents, direction, out hitInfo, identity, positiveInfinity, num, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019D4 RID: 6612 RVA: 0x000209BC File Offset: 0x0001EBBC
|
|
public static bool BoxCast(Vector3 center, Vector3 halfExtents, Vector3 direction, out RaycastHit hitInfo, [DefaultValue("Quaternion.identity")] Quaternion orientation, [DefaultValue("Mathf.Infinity")] float maxDistance, [DefaultValue("DefaultRaycastLayers")] int layerMask, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.Internal_BoxCast(center, halfExtents, orientation, direction, out hitInfo, maxDistance, layerMask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x1700058C RID: 1420
|
|
// (get) Token: 0x060019D5 RID: 6613
|
|
// (set) Token: 0x060019D6 RID: 6614
|
|
[Obsolete("penetrationPenaltyForce has no effect.")]
|
|
public static extern float penetrationPenaltyForce
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x060019D7 RID: 6615
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public static extern void IgnoreCollision(Collider collider1, Collider collider2, [DefaultValue("true")] bool ignore);
|
|
|
|
// Token: 0x060019D8 RID: 6616 RVA: 0x000209E4 File Offset: 0x0001EBE4
|
|
[ExcludeFromDocs]
|
|
public static void IgnoreCollision(Collider collider1, Collider collider2)
|
|
{
|
|
bool flag = true;
|
|
Physics.IgnoreCollision(collider1, collider2, flag);
|
|
}
|
|
|
|
// Token: 0x060019D9 RID: 6617
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public static extern void IgnoreLayerCollision(int layer1, int layer2, [DefaultValue("true")] bool ignore);
|
|
|
|
// Token: 0x060019DA RID: 6618 RVA: 0x000209FC File Offset: 0x0001EBFC
|
|
[ExcludeFromDocs]
|
|
public static void IgnoreLayerCollision(int layer1, int layer2)
|
|
{
|
|
bool flag = true;
|
|
Physics.IgnoreLayerCollision(layer1, layer2, flag);
|
|
}
|
|
|
|
// Token: 0x060019DB RID: 6619
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public static extern bool GetIgnoreLayerCollision(int layer1, int layer2);
|
|
|
|
// Token: 0x060019DC RID: 6620 RVA: 0x00020A14 File Offset: 0x0001EC14
|
|
private static bool Internal_Raycast(Vector3 origin, Vector3 direction, out RaycastHit hitInfo, float maxDistance, int layermask, QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_Internal_Raycast(ref origin, ref direction, out hitInfo, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019DD RID: 6621
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern bool INTERNAL_CALL_Internal_Raycast(ref Vector3 origin, ref Vector3 direction, out RaycastHit hitInfo, float maxDistance, int layermask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x060019DE RID: 6622 RVA: 0x00020A38 File Offset: 0x0001EC38
|
|
private static bool Internal_CapsuleCast(Vector3 point1, Vector3 point2, float radius, Vector3 direction, out RaycastHit hitInfo, float maxDistance, int layermask, QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_Internal_CapsuleCast(ref point1, ref point2, radius, ref direction, out hitInfo, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019DF RID: 6623
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern bool INTERNAL_CALL_Internal_CapsuleCast(ref Vector3 point1, ref Vector3 point2, float radius, ref Vector3 direction, out RaycastHit hitInfo, float maxDistance, int layermask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x060019E0 RID: 6624 RVA: 0x00020A64 File Offset: 0x0001EC64
|
|
private static bool Internal_RaycastTest(Vector3 origin, Vector3 direction, float maxDistance, int layermask, QueryTriggerInteraction queryTriggerInteraction)
|
|
{
|
|
return Physics.INTERNAL_CALL_Internal_RaycastTest(ref origin, ref direction, maxDistance, layermask, queryTriggerInteraction);
|
|
}
|
|
|
|
// Token: 0x060019E1 RID: 6625
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern bool INTERNAL_CALL_Internal_RaycastTest(ref Vector3 origin, ref Vector3 direction, float maxDistance, int layermask, QueryTriggerInteraction queryTriggerInteraction);
|
|
|
|
// Token: 0x060019E2 RID: 6626 RVA: 0x00020A88 File Offset: 0x0001EC88
|
|
public static bool ComputePenetration(Collider colliderA, Vector3 positionA, Quaternion rotationA, Collider colliderB, Vector3 positionB, Quaternion rotationB, out Vector3 direction, out float distance)
|
|
{
|
|
return Physics.INTERNAL_CALL_ComputePenetration(colliderA, ref positionA, ref rotationA, colliderB, ref positionB, ref rotationB, out direction, out distance);
|
|
}
|
|
|
|
// Token: 0x060019E3 RID: 6627
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern bool INTERNAL_CALL_ComputePenetration(Collider colliderA, ref Vector3 positionA, ref Quaternion rotationA, Collider colliderB, ref Vector3 positionB, ref Quaternion rotationB, out Vector3 direction, out float distance);
|
|
|
|
// Token: 0x060019E4 RID: 6628 RVA: 0x00020AB0 File Offset: 0x0001ECB0
|
|
public static Vector3 ClosestPoint(Vector3 point, Collider collider, Vector3 position, Quaternion rotation)
|
|
{
|
|
Vector3 vector;
|
|
Physics.INTERNAL_CALL_ClosestPoint(ref point, collider, ref position, ref rotation, out vector);
|
|
return vector;
|
|
}
|
|
|
|
// Token: 0x060019E5 RID: 6629
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_ClosestPoint(ref Vector3 point, Collider collider, ref Vector3 position, ref Quaternion rotation, out Vector3 value);
|
|
|
|
// Token: 0x060019E6 RID: 6630
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
public static extern void Simulate(float step);
|
|
|
|
// Token: 0x1700058D RID: 1421
|
|
// (get) Token: 0x060019E7 RID: 6631
|
|
// (set) Token: 0x060019E8 RID: 6632
|
|
public static extern bool autoSimulation
|
|
{
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
get;
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
set;
|
|
}
|
|
|
|
// Token: 0x040003F2 RID: 1010
|
|
public const int IgnoreRaycastLayer = 4;
|
|
|
|
// Token: 0x040003F3 RID: 1011
|
|
[Obsolete("Please use Physics.IgnoreRaycastLayer instead. (UnityUpgradable) -> IgnoreRaycastLayer", true)]
|
|
public const int kIgnoreRaycastLayer = 4;
|
|
|
|
// Token: 0x040003F4 RID: 1012
|
|
public const int DefaultRaycastLayers = -5;
|
|
|
|
// Token: 0x040003F5 RID: 1013
|
|
[Obsolete("Please use Physics.DefaultRaycastLayers instead. (UnityUpgradable) -> DefaultRaycastLayers", true)]
|
|
public const int kDefaultRaycastLayers = -5;
|
|
|
|
// Token: 0x040003F6 RID: 1014
|
|
public const int AllLayers = -1;
|
|
|
|
// Token: 0x040003F7 RID: 1015
|
|
[Obsolete("Please use Physics.AllLayers instead. (UnityUpgradable) -> AllLayers", true)]
|
|
public const int kAllLayers = -1;
|
|
}
|
|
}
|