編輯

共用方式為


MixedRealityRaycaster Class

Definition

public ref class MixedRealityRaycaster abstract sealed
public static class MixedRealityRaycaster
type MixedRealityRaycaster = class
Public Class MixedRealityRaycaster
Inheritance
MixedRealityRaycaster

Fields

DebugEnabled
MaxRaycastHitCount
MaxSphereCastHitCount

Methods

RaycastBoxPhysicsStep(RayStep, Vector3, Vector3, Matrix4x4, Single, LayerMask[], Int32, Boolean, Boolean, Vector3[], Vector3[], Boolean[])

Box raycasts each physics RayStep.

RaycastPlanePhysicsStep(RayStep, Plane, Vector3)

Intersection test of ray step with given plane.

RaycastSimplePhysicsStep(RayStep, LayerMask[], Boolean, RaycastHit)

Simple raycasts each physics RayStep.

RaycastSimplePhysicsStep(RayStep, Single, LayerMask[], Boolean, RaycastHit)

Simple raycasts each physics RayStep within a specified maximum distance.

RaycastSpherePhysicsStep(RayStep, Single, LayerMask[], Boolean, RaycastHit)

Sphere raycasts each physics RayStep.

RaycastSpherePhysicsStep(RayStep, Single, Single, LayerMask[], Boolean, RaycastHit)

Sphere raycasts each physics RayStep within a specified maximum distance.

TryGetPrioritizedPhysicsHit(RaycastHit[], LayerMask[], Boolean, RaycastHit)

Tries to get the prioritized physics raycast hit based on the prioritized layer masks.

Applies to