Search Results for

    Show / Hide Table of Contents

    Interface ITouchable

    Interface for touchables.

    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 [manual touch order].

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

    true if [manual touch order]; 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 [is new].

    Contains(Vector2)

    Determines whether [contains] [the specified point].

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

    The point.

    Returns
    Type Description
    bool

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

    UpdateTouchOrder()

    Updates the touch order.

    Declaration
    void UpdateTouchOrder()

    Events

    TouchOrderChanged

    Occurs when [touch order changed].

    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