Synced
IViewPointerTarget.TryHit
Section titled “IViewPointerTarget.TryHit”
- Maps one output pointer onto this item’s local surface.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Runtime
Scope: Runtime
Declaration
Section titled “Declaration”bool InnoEngine.Rendering.IViewPointerTarget.TryHit(InnoEngine.Rendering.RenderView view, InnoEngine.Rendering.RenderOutputInput input, out InnoEngine.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.