Struct PhysicsScene
Assembly: UnityEngine.dll
Syntax
public struct PhysicsScene : IEquatable<PhysicsScene>
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Overrides
|
Improve this Doc
View Source
Equals(PhysicsScene)
Declaration
public bool Equals(PhysicsScene other)
Parameters
Returns
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
IsEmpty()
Declaration
Returns
|
Improve this Doc
View Source
IsValid()
Declaration
Returns
|
Improve this Doc
View Source
Raycast(Vector3, Vector3, Single, Int32, QueryTriggerInteraction)
Declaration
public bool Raycast(Vector3 origin, Vector3 direction, [DefaultValue("Mathf.Infinity")] float maxDistance = InfinityF, [DefaultValue("Physics.DefaultRaycastLayers")] int layerMask = -5, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal)
Parameters
Returns
|
Improve this Doc
View Source
Raycast(Vector3, Vector3, out RaycastHit, Single, Int32, QueryTriggerInteraction)
Declaration
public bool Raycast(Vector3 origin, Vector3 direction, out RaycastHit hitInfo, [DefaultValue("Mathf.Infinity")] float maxDistance = InfinityF, [DefaultValue("Physics.DefaultRaycastLayers")] int layerMask = -5, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal)
Parameters
Returns
|
Improve this Doc
View Source
Raycast(Vector3, Vector3, RaycastHit[], Single, Int32, QueryTriggerInteraction)
Declaration
public int Raycast(Vector3 origin, Vector3 direction, RaycastHit[] raycastHits, [DefaultValue("Mathf.Infinity")] float maxDistance = InfinityF, [DefaultValue("Physics.DefaultRaycastLayers")] int layerMask = -5, [DefaultValue("QueryTriggerInteraction.UseGlobal")] QueryTriggerInteraction queryTriggerInteraction = QueryTriggerInteraction.UseGlobal)
Parameters
Returns
|
Improve this Doc
View Source
Simulate(Single)
Declaration
public void Simulate(float step)
Parameters
Type |
Name |
Description |
Single |
step |
|
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
|
Improve this Doc
View Source
Equality(PhysicsScene, PhysicsScene)
Declaration
public static bool operator ==(PhysicsScene lhs, PhysicsScene rhs)
Parameters
Returns
|
Improve this Doc
View Source
Inequality(PhysicsScene, PhysicsScene)
Declaration
public static bool operator !=(PhysicsScene lhs, PhysicsScene rhs)
Parameters
Returns
Implements
Extension Methods