Urho
1.0.0.0
Urho.UrhoObject
%UI subsystem. Manages the graphical user interface.
To be added.
Constructor
1.0.0.0
Pointer to the raw unmanaged Urho object.
Constructs a new instance of UI, given a raw pointer to an unmanaged object
This creates a new managed wrapper for the type using the raw pointer to an unmanaged object.
Objects that are created in this fashion get registered with the UrhoSharp runtime.
This is intended to be used by the UrhoSharp runtime, and is not intended to be used by users.
Constructor
1.0.0.0
The context that this object will be attached to.
Creates an instance of UI that is attached to an execution context.
This creates an instance of UI attached to the specified execution context.
Constructor
1.0.0.0
Pass UrhoObjectFlag.Empty.
Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.
This constructor should be invoked by your code if you provide your own constructor that sets the handle field.
This essentially circumvents the default path that creates a new object and sets the handle and does not call RegisterObject on the target, you must do this on your own constructor.
You would typically chain to this constructor from your own, and then set the handle to the unmanaged object from your code, and then register your object.
Property
1.0.0.0
Urho.StringHash
Urho's type system base type.
StringHash representing the base type for this Urho type.
This returns the Urho type system base type and is surfaced for low-level Urho code.
Method
1.0.0.0
System.Void
Clear the UI (excluding the cursor.)
To be added.
Property
1.0.0.0
System.String
Return clipboard text.
Or
Set clipboard text.
To be added.
To be added.
Property
1.0.0.0
Urho.Cursor
Return cursor.
Or
Set cursor UI element.
To be added.
To be added.
Property
1.0.0.0
Urho.IntVector2
Return cursor position.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Debug draw a UI element.
To be added.
Property
1.0.0.0
System.Single
Return tooltip default display delay in seconds.
Or
Set tooltip default display delay in seconds.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return UI element double click interval in seconds.
Or
Set UI element double click interval in seconds.
To be added.
To be added.
Property
1.0.0.0
System.Int32
Return UI drag start event distance threshold in pixels.
Or
Set UI drag event start distance threshold in pixels.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return UI drag start event interval in seconds.
Or
Set UI drag event start interval in seconds.
To be added.
To be added.
Property
1.0.0.0
Urho.UIElement
Return focused element.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Return whether is using forced autohinting.
Or
Set whether to force font autohinting instead of using FreeType's TTF bytecode interpreter.
To be added.
To be added.
Property
1.0.0.0
Urho.UIElement
Return topmost enabled root-level non-modal element.
To be added.
To be added.
Method
1.0.0.0
Urho.UIElement
To be added.
Return the drag element at index.
To be added.
To be added.
Method
1.0.0.0
Urho.UIElement
To be added.
To be added.
Return UI element at screen coordinates. By default returns only input-enabled elements.
To be added.
To be added.
Method
1.0.0.0
Urho.UIElement
To be added.
To be added.
To be added.
Return UI element at screen coordinates. By default returns only input-enabled elements.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
Return true when UI has modal element(s).
To be added.
To be added.
Method
1.0.0.0
System.Boolean
Return whether a drag is in progress.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
Return whether mouse wheel can control also a non-focused element.
To be added.
To be added.
Method
1.0.0.0
Urho.UIElement
To be added.
To be added.
Load a UI layout from an XML file. Optionally specify another XML file for element style. Return the root element.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
To be added.
Property
1.0.0.0
System.Int32
Return font texture maximum size.
Or
Set maximum font face texture size. Must be a power of two. Default is 2048.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return the number of currently dragged elements.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Render the UI. If resetRenderTargets is true, is assumed to be the default UI render to backbuffer called by Engine, and will be performed only once. Additional UI renders to a different rendertarget may be triggered from the renderpath.
To be added.
Method
1.0.0.0
System.Void
Update the UI for rendering. Called by HandleRenderUpdate().
To be added.
Property
1.0.0.0
Urho.UIElement
Return root UI element.
To be added.
To be added.
Property
1.0.0.0
Urho.UIElement
Return root modal element.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set focused UI element.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
Set modal element. Until all the modal elements are dismissed, all the inputs and events are only sent to them. Return true when successful.
Only the modal element can clear its modal status or when it is being destructed.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set whether mouse wheel can control also a non-focused element.
To be added.
Property
1.0.0.0
Urho.StringHash
Urho's type system type.
StringHash representing the type for this C# type.
This returns the Urho's type and is surfaced for low-level Urho code.
Property
1.0.0.0
System.String
Urho's low-level type name.
Stringified low-level type name.
Property
1.0.0.0
System.String
Urho's low-level type name, accessible as a static method.
Stringified low-level type name.
Property
1.0.0.0
Urho.StringHash
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Update the UI logic. Called by HandlePostUpdate().
To be added.
Property
1.0.0.0
System.Boolean
Return whether is using mutable (eraseable) glyphs for fonts.
Or
Set whether to use mutable (eraseable) glyphs to ensure a font face never expands to more than one texture. Default false.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Return whether focusing a %LineEdit will show the on-screen keyboard.
Or
Set whether to show the on-screen keyboard (if supported) when a %LineEdit is focused. Default true on mobile devices.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Return whether is using the system clipboard.
Or
Set whether to use system clipboard. Default false.
To be added.
To be added.