Search Results for

    Show / Hide Table of Contents

    Interface ITouchable

    Interface for touchable objects.

    Namespace: Evergine.Common.Input
    Assembly: Evergine.Common.dll
    Syntax
    public interface ITouchable

    Properties

    IsActive

    Gets a value indicating whether this instance is active.

    Declaration
    bool IsActive { get; }
    Property Value
    Type Description
    bool

    true if this instance is active; otherwise, false.

    ManualTouchOrder

    Gets or sets a value indicating whether the order is manual touch.

    Declaration
    bool ManualTouchOrder { get; set; }
    Property Value
    Type Description
    bool

    true if the order is manual touch; otherwise, false.

    TouchOrder

    Gets the touch order.

    Declaration
    int TouchOrder { get; }
    Property Value
    Type Description
    int

    Methods

    AddTouch(TouchLocation, bool)

    Adds the touch.

    Declaration
    void AddTouch(TouchLocation touch, bool isNew)
    Parameters
    Type Name Description
    TouchLocation touch

    The touch.

    bool isNew

    If set to true, it indicates the touch is new.

    Contains(Vector2)

    Determines whether [the specified point] is contained.

    Declaration
    bool Contains(Vector2 point)
    Parameters
    Type Name Description
    Vector2 point

    The point.

    Returns
    Type Description
    bool

    true if [the specified point] is contained; otherwise, false.

    UpdateTouchOrder()

    Updates the order of touches.

    Declaration
    void UpdateTouchOrder()

    Events

    TouchOrderChanged

    Occurs when the touch order changes.

    Declaration
    event EventHandler TouchOrderChanged
    Event Type
    Type Description
    EventHandler

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX