MixedRealityRaycaster Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Custom raycaster that enables features such as stepwise raycasts.
public static class MixedRealityRaycaster
type MixedRealityRaycaster = class
Public Class MixedRealityRaycaster
- Inheritance
-
MixedRealityRaycaster
Fields
| Name | Description |
|---|---|
| MaxRaycastHitCount |
The maximum raycasts hits that a MixedRealityRaycaster instance can support. |
| MaxSphereCastHitCount |
The maximum sphere cast hits that a MixedRealityRaycaster instance can support. |
Properties
| Name | Description |
|---|---|
| DebugEnabled |
Get or set if debugging visuals are drawn for all MixedRealityRaycaster raycasts. |
Methods
| Name | Description |
|---|---|
| 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. |