Search Results for

    Show / Hide Table of Contents

    Class AndroidSurface

    Android Surface.

    Inheritance
    object
    Surface
    AndroidSurface
    Inherited Members
    Surface.SurfaceInfo
    Surface.Width
    Surface.Height
    Surface.DPIDensity
    Surface.OnScreenSizeChanged
    Surface.OnSurfaceInfoChanged
    Surface.Closing
    Surface.GotFocus
    Surface.LostFocus
    Surface.Dispose()
    Surface.OnClosing()
    Surface.OnGotFocus()
    Surface.OnLostFocus()
    Surface.OnSizeChanged()
    Namespace: Evergine.Android
    Assembly: Evergine.Android.dll
    Syntax
    public class AndroidSurface : Surface

    Constructors

    AndroidSurface(Context, uint, uint, bool)

    Initializes a new instance of the AndroidSurface class.

    Declaration
    public AndroidSurface(Context context, uint width, uint height, bool runInUIThread = false)
    Parameters
    Type Name Description
    Context context

    Android Context.

    uint width

    Surface width.

    uint height

    Surface height.

    bool runInUIThread

    Run backend in UI thread.

    Properties

    KeyboardDispatcher

    Gets the keyboard event dispatcher associated with this surface.

    Declaration
    public override KeyboardDispatcher KeyboardDispatcher { get; }
    Property Value
    Type Description
    KeyboardDispatcher
    Overrides
    Surface.KeyboardDispatcher

    LoadAction

    Sets Load action.

    Declaration
    public Action LoadAction { set; }
    Property Value
    Type Description
    Action

    MouseDispatcher

    Gets the mouse event dispatcher associated with this surface.

    Declaration
    public override MouseDispatcher MouseDispatcher { get; }
    Property Value
    Type Description
    MouseDispatcher
    Overrides
    Surface.MouseDispatcher

    NativeSurface

    Gets or sets Android OpenGL View.

    Declaration
    public AndroidSurfaceView NativeSurface { get; protected set; }
    Property Value
    Type Description
    AndroidSurfaceView

    RenderAction

    Sets Render Action.

    Declaration
    public Action RenderAction { set; }
    Property Value
    Type Description
    Action

    TouchDispatcher

    Gets the touch events dispatcher associated with this surface.

    Declaration
    public override PointerDispatcher TouchDispatcher { get; }
    Property Value
    Type Description
    PointerDispatcher
    Overrides
    Surface.TouchDispatcher

    Methods

    Destroy()

    Removes managed resources.

    Declaration
    protected override void Destroy()
    Overrides
    Surface.Destroy()

    OnInfoChanged()

    Raises surface info changed event.

    Declaration
    protected override void OnInfoChanged()
    Overrides
    Surface.OnInfoChanged()

    Extension Methods

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