Struct CapsulecastCommand
Assembly: UnityEngine.dll
Syntax
public struct CapsulecastCommand
Constructors
|
Improve this Doc
View Source
CapsulecastCommand(Vector3, Vector3, Single, Vector3, Single, Int32)
Declaration
public CapsulecastCommand(Vector3 p1, Vector3 p2, float radius, Vector3 direction, float distance = 3.40282347E+38F, int layerMask = -5)
Parameters
Properties
|
Improve this Doc
View Source
direction
Declaration
public Vector3 direction { get; set; }
Property Value
|
Improve this Doc
View Source
distance
Declaration
public float distance { get; set; }
Property Value
|
Improve this Doc
View Source
layerMask
Declaration
public int layerMask { get; set; }
Property Value
|
Improve this Doc
View Source
point1
Declaration
public Vector3 point1 { get; set; }
Property Value
|
Improve this Doc
View Source
point2
Declaration
public Vector3 point2 { get; set; }
Property Value
|
Improve this Doc
View Source
radius
Declaration
public float radius { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
ScheduleBatch(NativeArray<CapsulecastCommand>, NativeArray<RaycastHit>, Int32, JobHandle)
Declaration
public static JobHandle ScheduleBatch(NativeArray<CapsulecastCommand> commands, NativeArray<RaycastHit> results, int minCommandsPerJob, JobHandle dependsOn = default(JobHandle))
Parameters
Returns
Extension Methods