MixedRealityRaycaster.RaycastSimplePhysicsStep Method

Definition

Overloads

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.

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

Simple raycasts each physics RayStep.

public:
 static bool RaycastSimplePhysicsStep(Microsoft::MixedReality::Toolkit::Physics::RayStep step, cli::array <UnityEngine::LayerMask> ^ prioritizedLayerMasks, bool focusIndividualCompoundCollider, [Runtime::InteropServices::Out] UnityEngine::RaycastHit % physicsHit);
public static bool RaycastSimplePhysicsStep (Microsoft.MixedReality.Toolkit.Physics.RayStep step, UnityEngine.LayerMask[] prioritizedLayerMasks, bool focusIndividualCompoundCollider, out UnityEngine.RaycastHit physicsHit);
static member RaycastSimplePhysicsStep : Microsoft.MixedReality.Toolkit.Physics.RayStep * UnityEngine.LayerMask[] * bool * RaycastHit -> bool
Public Shared Function RaycastSimplePhysicsStep (step As RayStep, prioritizedLayerMasks As LayerMask(), focusIndividualCompoundCollider As Boolean, ByRef physicsHit As RaycastHit) As Boolean

Parameters

step
RayStep
prioritizedLayerMasks
UnityEngine.LayerMask[]
focusIndividualCompoundCollider
Boolean
physicsHit
UnityEngine.RaycastHit

Returns

Whether or not the raycast hit something.

Applies to

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

Simple raycasts each physics RayStep within a specified maximum distance.

public:
 static bool RaycastSimplePhysicsStep(Microsoft::MixedReality::Toolkit::Physics::RayStep step, float maxDistance, cli::array <UnityEngine::LayerMask> ^ prioritizedLayerMasks, bool focusIndividualCompoundCollider, [Runtime::InteropServices::Out] UnityEngine::RaycastHit % physicsHit);
public static bool RaycastSimplePhysicsStep (Microsoft.MixedReality.Toolkit.Physics.RayStep step, float maxDistance, UnityEngine.LayerMask[] prioritizedLayerMasks, bool focusIndividualCompoundCollider, out UnityEngine.RaycastHit physicsHit);
static member RaycastSimplePhysicsStep : Microsoft.MixedReality.Toolkit.Physics.RayStep * single * UnityEngine.LayerMask[] * bool * RaycastHit -> bool
Public Shared Function RaycastSimplePhysicsStep (step As RayStep, maxDistance As Single, prioritizedLayerMasks As LayerMask(), focusIndividualCompoundCollider As Boolean, ByRef physicsHit As RaycastHit) As Boolean

Parameters

step
RayStep
maxDistance
Single
prioritizedLayerMasks
UnityEngine.LayerMask[]
focusIndividualCompoundCollider
Boolean
physicsHit
UnityEngine.RaycastHit

Returns

Whether or not the raycast hit something.

Applies to