Synced
IViewPointerTarget.TryHit
Section titled “IViewPointerTarget.TryHit”
- Maps one output pointer onto this item’s local surface.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Runtime
Declaration
Section titled “Declaration”bool Inno.Rendering.Runtime.IViewPointerTarget.TryHit(Inno.Rendering.Runtime.RenderView view, Inno.Rendering.Runtime.RenderOutputInput input, out Inno.Core.Mathematics.Vector2 localPosition)Parameters
Section titled “Parameters”Parameter view: Exact rendered view.
Parameter input: Viewport-local input.
Parameter localPosition: Local target coordinates when hit.
Returns
Section titled “Returns”Whether this target is eligible to receive pointer input.