SpherePointer.OnSceneQuery Method
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.
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