Urho
1.0.0.0
Urho.UrhoObject
Base class for creating applications which initialize the Urho3D engine and run a main loop until exited.
This is the base class that your application should subclass and provide at implementations for the and methods. You can use await asynchronous methods from the methods.
Access to various subsystems in Urho is available through the various properties in this class:
-
-
-
-
-
-
-
-
-
-
-
-
An application is tied to a which should be passed on the initial constructor.
This shows a minimal application:
{ if (args.Key == Key.Esc) Engine.Exit(); });
}
}]]>
Constructor
1.0.0.0
To be added.
To be added.
Constructor
1.0.0.0
Pointer to the raw unmanaged Urho object.
Constructs a new instance of Urho.Application, 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
To be added.
To be added.
To be added.
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.Audio.Audio
Returns the Audio subsystem.
See the class description for more information on how to use the Audio subsystem.
Property
1.0.0.0
Urho.UrhoConsole
Returns the Console subsystem
To be added.
To be added.
Method
1.0.0.0
Urho.Application
To be added.
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
T
Urho.Application
To be added.
To be added.
To be added.
To be added.
To be added.
Property
1.0.0.0
Urho.Application
Last created application.
To be added.
To be added.
Property
1.0.0.0
Urho.Context
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Threading.Tasks.Task
Duration in millyseconds
Waits given game time.
To be added.
To be added.
Property
1.0.0.0
Urho.Engine
Returns the application’s engine.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Call UrhoEngine.Init() to initialize the engine
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Show an error message (last log message if empty), terminate the main loop, and set failure exit code.
To be added.
Property
1.0.0.0
Urho.IO.FileSystem
Returns the FileSystem subsystem.
To be added.
To be added.
Property
1.0.0.0
Urho.Graphics
Returns the Graphics subsystem.
To be added.
To be added.
Property
1.0.0.0
Urho.Input
Returns the Input subsystem.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Invoke actions in the Main Thread (the next Update call)
To be added.
Property
1.0.0.0
Urho.IO.Log
Returns the Log subsystem.
To be added.
To be added.
Property
1.0.0.0
Urho.Network.Network
Returns the Network subsystem.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
This method is invoked on every application update.
To be added.
Property
1.0.0.0
Urho.ApplicationOptions
The application options in use
The value is either the one that was passed to the constructor, or the default.
Property
1.0.0.0
Urho.Platforms
Simple way of obtaining the platform on which the program is running from cross platform code.
Use this to easily find out from your cross platform code on which platform you are executing.
Property
1.0.0.0
Urho.Profiler
Returns the Profiler subsystem.
To be added.
To be added.
Property
1.0.0.0
Urho.Renderer
Returns the Renderer subsystem.
To be added.
To be added.
Property
1.0.0.0
Urho.Resources.ResourceCache
Returns the ResourceCache subsystem.
To be added.
To be added.
Method
1.0.0.0
System.Int32
Initialize the engine and run the main loop, then return the application exit code. Catch out-of-memory exceptions while running.
To be added.
To be added.
Method
1.0.0.0
System.Void
Method invoked to setup your application.
You can setup the engine parameters here, but you should postpone the resource loading until the method is invoked.
On error, you can invoke the method to terminate execution.
Method
1.0.0.0
System.Void
Method invoked to start your application, this is where you would typically create your scene.
To be added.
Method
1.0.0.0
System.Void
Method invoked to terminate your application.
To be added.
Property
1.0.0.0
Urho.Time
Returns the Time subsystem.
To be added.
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
Urho's low-level type, accessible as a static method.
This returns the Urho's type and is surface for the low-level Urho code.
Property
1.0.0.0
Urho.Gui.UI
Returns the UI subsystem.
To be added.
To be added.
Event
1.0.0.0
System.Action<Urho.UpdateEventArgs>
Frame update event
This event is raised when the frame has been updated.
Property
1.0.0.0
Urho.WorkQueue
Returns the WorkQueue subsystem.
To be added.
To be added.