Class DefaultRaycastProvider
The default implementation of IMixedRealityRaycastProvider.
Inheritance
DefaultRaycastProvider
Assembly: cs.temp.dll.dll
public class DefaultRaycastProvider : BaseCoreSystem, IMixedRealityEventSystem, IMixedRealityRaycastProvider, IMixedRealityService, IDisposable
Constructors
Declaration
[Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
public DefaultRaycastProvider(IMixedRealityServiceRegistrar registrar, MixedRealityInputSystemProfile profile)
Parameters
Declaration
[Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
public DefaultRaycastProvider(IMixedRealityServiceRegistrar registrar, MixedRealityInputSystemProfile profile)
Parameters
Declaration
public DefaultRaycastProvider(MixedRealityInputSystemProfile profile)
Parameters
Declaration
public DefaultRaycastProvider(MixedRealityInputSystemProfile profile)
Parameters
Properties
Declaration
public override string Name { get; protected set; }
Property Value
Overrides
Declaration
public override string Name { get; protected set; }
Property Value
Overrides
Methods
Declaration
public RaycastResult GraphicsRaycast(EventSystem eventSystem, PointerEventData pointerEventData, LayerMask[] layerMasks)
Parameters
Type |
Name |
Description |
EventSystem |
eventSystem |
|
PointerEventData |
pointerEventData |
|
LayerMask[] |
layerMasks |
|
Returns
Type |
Description |
RaycastResult |
|
Declaration
public RaycastResult GraphicsRaycast(EventSystem eventSystem, PointerEventData pointerEventData, LayerMask[] layerMasks)
Parameters
Type |
Name |
Description |
EventSystem |
eventSystem |
|
PointerEventData |
pointerEventData |
|
LayerMask[] |
layerMasks |
|
Returns
Type |
Description |
RaycastResult |
|
Declaration
public bool Raycast(RayStep step, LayerMask[] prioritizedLayerMasks, bool focusIndividualCompoundCollider, out MixedRealityRaycastHit hitInfo)
Parameters
Returns
Declaration
public bool Raycast(RayStep step, LayerMask[] prioritizedLayerMasks, bool focusIndividualCompoundCollider, out MixedRealityRaycastHit hitInfo)
Parameters
Returns
Declaration
public bool SphereCast(RayStep step, float radius, LayerMask[] prioritizedLayerMasks, bool focusIndividualCompoundCollider, out MixedRealityRaycastHit hitInfo)
Parameters
Returns
Declaration
public bool SphereCast(RayStep step, float radius, LayerMask[] prioritizedLayerMasks, bool focusIndividualCompoundCollider, out MixedRealityRaycastHit hitInfo)
Parameters
Returns
Implements
IDisposable