Class MockColliderCast
This class is only meant for testing, no reason to include in code coverage metrics.
Inheritance
MockColliderCast
Assembly: cs.temp.dll.dll
Syntax
public class MockColliderCast : MonoBehaviour, IColliderCast, IRaycastHelper
Fields
OnCastSelf
This class is only meant for testing, no reason to include in code coverage metrics.
Declaration
public MockColliderCast.CastSelfReturns OnCastSelf
Field Value
OnDoRaycastInDirection
This class is only meant for testing, no reason to include in code coverage metrics.
Declaration
public MockColliderCast.DoRaycastInDirectionReturns OnDoRaycastInDirection
Field Value
OnGetBottom
This class is only meant for testing, no reason to include in code coverage metrics.
Declaration
public MockColliderCast.GetBottomReturns OnGetBottom
Field Value
OnGetHits
This class is only meant for testing, no reason to include in code coverage metrics.
Declaration
public MockColliderCast.GetHitsReturns OnGetHits
Field Value
OnGetOverlapping
This class is only meant for testing, no reason to include in code coverage metrics.
Declaration
public MockColliderCast.GetOverlappingReturns OnGetOverlapping
Field Value
OnPushOutOverlapping
This class is only meant for testing, no reason to include in code coverage metrics.
Declaration
public MockColliderCast.PushOutOverlappingReturns OnPushOutOverlapping
Field Value
Methods
CastSelf(Vector3, Quaternion, Vector3, Single, out IRaycastHit, Int32, QueryTriggerInteraction, Single)
This class is only meant for testing, no reason to include in code coverage metrics.
Declaration
public bool CastSelf(Vector3 position, Quaternion rotation, Vector3 direction, float distance, out IRaycastHit hit, int layerMask = -1, QueryTriggerInteraction queryTriggerInteraction = null, float skinWidth = 0.01F)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Quaternion |
rotation |
|
Vector3 |
direction |
|
Single |
distance |
|
IRaycastHit |
hit |
|
Int32 |
layerMask |
|
QueryTriggerInteraction |
queryTriggerInteraction |
|
Single |
skinWidth |
|
Returns
DoRaycastInDirection(Vector3, Vector3, Single, out IRaycastHit, Int32, QueryTriggerInteraction)
This class is only meant for testing, no reason to include in code coverage metrics.
Declaration
public bool DoRaycastInDirection(Vector3 source, Vector3 direction, float distance, out IRaycastHit stepHit, int layerMask = -1, QueryTriggerInteraction queryTriggerInteraction = null)
Parameters
Type |
Name |
Description |
Vector3 |
source |
|
Vector3 |
direction |
|
Single |
distance |
|
IRaycastHit |
stepHit |
|
Int32 |
layerMask |
|
QueryTriggerInteraction |
queryTriggerInteraction |
|
Returns
GetBottom(Vector3, Quaternion)
This class is only meant for testing, no reason to include in code coverage metrics.
Declaration
public Vector3 GetBottom(Vector3 position, Quaternion rotation)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Quaternion |
rotation |
|
Returns
GetHits(Vector3, Quaternion, Vector3, Single, Int32, QueryTriggerInteraction, Single)
This class is only meant for testing, no reason to include in code coverage metrics.
Declaration
public IEnumerable<RaycastHit> GetHits(Vector3 position, Quaternion rotation, Vector3 direction, float distance, int layerMask = -1, QueryTriggerInteraction queryTriggerInteraction = null, float skinWidth = 0.01F)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Quaternion |
rotation |
|
Vector3 |
direction |
|
Single |
distance |
|
Int32 |
layerMask |
|
QueryTriggerInteraction |
queryTriggerInteraction |
|
Single |
skinWidth |
|
Returns
Type |
Description |
IEnumerable<RaycastHit> |
|
GetOverlapping(Vector3, Quaternion, Int32, QueryTriggerInteraction, Single)
This class is only meant for testing, no reason to include in code coverage metrics.
Declaration
public IEnumerable<Collider> GetOverlapping(Vector3 position, Quaternion rotation, int layerMask = -1, QueryTriggerInteraction queryTriggerInteraction = null, float skinWidth = 0F)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Quaternion |
rotation |
|
Int32 |
layerMask |
|
QueryTriggerInteraction |
queryTriggerInteraction |
|
Single |
skinWidth |
|
Returns
Type |
Description |
IEnumerable<Collider> |
|
PushOutOverlapping(Vector3, Quaternion, Single, Int32, QueryTriggerInteraction, Single)
This class is only meant for testing, no reason to include in code coverage metrics.
Declaration
public Vector3 PushOutOverlapping(Vector3 position, Quaternion rotation, float maxDistance, int layerMask = -1, QueryTriggerInteraction queryTriggerInteraction = null, float skinWidth = 0F)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Quaternion |
rotation |
|
Single |
maxDistance |
|
Int32 |
layerMask |
|
QueryTriggerInteraction |
queryTriggerInteraction |
|
Single |
skinWidth |
|
Returns
Implements