Class ColliderExtensions
Inheritance
System.Object
ColliderExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GameKit.Dependencies.Utilities
Assembly: GameKit.Dependencies.dll
Syntax
public static class ColliderExtensions
Methods
GetBoxOverlapParams(BoxCollider, out Vector3, out Vector3)
Declaration
public static void GetBoxOverlapParams(this BoxCollider boxCollider, out Vector3 center, out Vector3 halfExtents)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.BoxCollider | boxCollider | |
UnityEngine.Vector3 | center | |
UnityEngine.Vector3 | halfExtents |
GetCapsuleCastParams(CapsuleCollider, out Vector3, out Vector3, out Single)
Declaration
public static void GetCapsuleCastParams(this CapsuleCollider capsuleCollider, out Vector3 point1, out Vector3 point2, out float radius)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.CapsuleCollider | capsuleCollider | |
UnityEngine.Vector3 | point1 | |
UnityEngine.Vector3 | point2 | |
System.Single | radius |
GetSphereOverlapParams(SphereCollider, out Vector3, out Single)
Declaration
public static void GetSphereOverlapParams(this SphereCollider sphereCollider, out Vector3 center, out float radius)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.SphereCollider | sphereCollider | |
UnityEngine.Vector3 | center | |
System.Single | radius |