Struct ZORaycastJobBatch
Implements
System.IDisposable
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Unity.ZeroSim.dll
Syntax
public struct ZORaycastJobBatch : IDisposable
Constructors
|
Improve this Doc
View Source
ZORaycastJobBatch(Int32, Allocator)
Declaration
public ZORaycastJobBatch(int length, Allocator allocator)
Parameters
Type |
Name |
Description |
System.Int32 |
length |
|
Unity.Collections.Allocator |
allocator |
|
Properties
|
Improve this Doc
View Source
IsCompleted
Declaration
public bool IsCompleted { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Length
Declaration
public int Length { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RaycastBatchJobHandle
Declaration
public JobHandle RaycastBatchJobHandle { get; }
Property Value
Type |
Description |
Unity.Jobs.JobHandle |
|
|
Improve this Doc
View Source
RaycastCommands
Declaration
public NativeArray<RaycastCommand> RaycastCommands { get; }
Property Value
Type |
Description |
Unity.Collections.NativeArray<UnityEngine.RaycastCommand> |
|
|
Improve this Doc
View Source
RaycastHitResults
Declaration
public NativeArray<RaycastHit> RaycastHitResults { get; }
Property Value
Type |
Description |
Unity.Collections.NativeArray<UnityEngine.RaycastHit> |
|
Methods
|
Improve this Doc
View Source
Complete()
Declaration
|
Improve this Doc
View Source
CopyResults(ref RaycastHit[])
Declaration
public void CopyResults(ref RaycastHit[] array)
Parameters
Type |
Name |
Description |
UnityEngine.RaycastHit[] |
array |
|
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
Schedule(Int32, JobHandle)
Declaration
public void Schedule(int minCommandsPerJob = 32, JobHandle dependsOn = default(JobHandle))
Parameters
Type |
Name |
Description |
System.Int32 |
minCommandsPerJob |
|
Unity.Jobs.JobHandle |
dependsOn |
|
|
Improve this Doc
View Source
SetCommand(Int32, Vector3, Vector3, Single)
Declaration
public void SetCommand(int index, Vector3 start, Vector3 direction, float maxDistance)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
UnityEngine.Vector3 |
start |
|
UnityEngine.Vector3 |
direction |
|
System.Single |
maxDistance |
|
Implements
System.IDisposable