Struct RaycastCommand
Assembly: UnityEngine.dll
Syntax
public struct RaycastCommand
Constructors
|
Improve this Doc
View Source
RaycastCommand(Vector3, Vector3, Single, Int32, Int32)
Declaration
public RaycastCommand(Vector3 from, Vector3 direction, float distance = 3.40282347E+38F, int layerMask = -5, int maxHits = 1)
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
from
Declaration
public Vector3 from { get; set; }
Property Value
|
Improve this Doc
View Source
layerMask
Declaration
public int layerMask { get; set; }
Property Value
|
Improve this Doc
View Source
maxHits
Declaration
public int maxHits { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
ScheduleBatch(NativeArray<RaycastCommand>, NativeArray<RaycastHit>, Int32, JobHandle)
Declaration
public static JobHandle ScheduleBatch(NativeArray<RaycastCommand> commands, NativeArray<RaycastHit> results, int minCommandsPerJob, JobHandle dependsOn = default(JobHandle))
Parameters
Returns
Extension Methods