Class AndroidSurface
Android Surface.
Inherited Members
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
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
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
Methods
Destroy()
Removes managed resources.
Declaration
protected override void Destroy()
Overrides
OnInfoChanged()
Raises surface info changed event.
Declaration
protected override void OnInfoChanged()