Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    PointerPoint Class

    Namespace: Stride.Input
    Assembly: Stride.Input.dll

    Represents a unique pointer that is or was on the screen and information about it

    System.Object → PointerPoint
    Derived from PointerPoint: PointerDeviceState.PointerData

    public class PointerPoint
    Name Description
    Fields
    Delta

    Pointer delta

    Id

    The pointer ID, from the device

    IsDown

    Is the pointer currently down

    Pointer

    The device to which this pointer belongs

    Position

    Last position of the pointer

    Methods
    ToString()
    | Improve this Doc View Source

    Fields


    Delta

    Pointer delta

    public Vector2 Delta
    Field Value
    Type Description
    Vector2

    Id

    The pointer ID, from the device

    public int Id
    Field Value
    Type Description
    System.Int32

    IsDown

    Is the pointer currently down

    public bool IsDown
    Field Value
    Type Description
    System.Boolean

    Pointer

    The device to which this pointer belongs

    public IPointerDevice Pointer
    Field Value
    Type Description
    IPointerDevice

    Position

    Last position of the pointer

    public Vector2 Position
    Field Value
    Type Description
    Vector2
    | Improve this Doc View Source

    Methods


    ToString()

    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation