TouchPoint
namespace Griff.Runtime;
public struct TouchPointA finger on a touch screen (see Touches): which one it is (the same from when it goes down until it’s lifted), where it is in world units, and whether it went down or was lifted this frame.
Properties
Section titled “Properties”public int Id { get; init; }Pressed
Section titled “Pressed”public bool Pressed { get; init; }Released
Section titled “Released”public bool Released { get; init; }public Vector2 World { get; init; }Methods
Section titled “Methods”Deconstruct
Section titled “Deconstruct”public void Deconstruct(out int Id, out Vector2 World, out bool Pressed, out bool Released)Equals
Section titled “Equals”public override bool Equals(object obj)Equals
Section titled “Equals”public bool Equals(TouchPoint other)GetHashCode
Section titled “GetHashCode”public override int GetHashCode()ToString
Section titled “ToString”public override string ToString()