Show / Hide Table of Contents

Struct BoxcastCommand

Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
public struct BoxcastCommand

Constructors

| Improve this Doc View Source

BoxcastCommand(Vector3, Vector3, Quaternion, Vector3, Single, Int32)

Declaration
public BoxcastCommand(Vector3 center, Vector3 halfExtents, Quaternion orientation, Vector3 direction, float distance = 3.40282347E+38F, int layerMask = -5)
Parameters
Type Name Description
Vector3 center
Vector3 halfExtents
Quaternion orientation
Vector3 direction
Single distance
Int32 layerMask

Properties

| Improve this Doc View Source

center

Declaration
public Vector3 center { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

direction

Declaration
public Vector3 direction { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

distance

Declaration
public float distance { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

halfExtents

Declaration
public Vector3 halfExtents { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

layerMask

Declaration
public int layerMask { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

orientation

Declaration
public Quaternion orientation { get; set; }
Property Value
Type Description
Quaternion

Methods

| Improve this Doc View Source

ScheduleBatch(NativeArray<BoxcastCommand>, NativeArray<RaycastHit>, Int32, JobHandle)

Declaration
public static JobHandle ScheduleBatch(NativeArray<BoxcastCommand> commands, NativeArray<RaycastHit> results, int minCommandsPerJob, JobHandle dependsOn = default(JobHandle))
Parameters
Type Name Description
NativeArray<BoxcastCommand> commands
NativeArray<RaycastHit> results
Int32 minCommandsPerJob
JobHandle dependsOn
Returns
Type Description
JobHandle

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX