Edit

Share via


SpherePointer.OnSceneQuery Method

Definition

public:
 override bool OnSceneQuery(cli::array <UnityEngine::LayerMask> ^ prioritizedLayerMasks, bool focusIndividualCompoundCollider, [Runtime::InteropServices::Out] UnityEngine::GameObject ^ % hitObject, [Runtime::InteropServices::Out] UnityEngine::Vector3 % hitPoint, [Runtime::InteropServices::Out] float % hitDistance);
public override bool OnSceneQuery (UnityEngine.LayerMask[] prioritizedLayerMasks, bool focusIndividualCompoundCollider, out UnityEngine.GameObject hitObject, out UnityEngine.Vector3 hitPoint, out float hitDistance);
override this.OnSceneQuery : UnityEngine.LayerMask[] * bool * GameObject * Vector3 * single -> bool
Public Overrides Function OnSceneQuery (prioritizedLayerMasks As LayerMask(), focusIndividualCompoundCollider As Boolean, ByRef hitObject As GameObject, ByRef hitPoint As Vector3, ByRef hitDistance As Single) As Boolean

Parameters

prioritizedLayerMasks
UnityEngine.LayerMask[]
focusIndividualCompoundCollider
Boolean
hitObject
UnityEngine.GameObject
hitPoint
UnityEngine.Vector3
hitDistance
Single

Returns

Applies to