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
Pointer to the raw unmanaged Urho object.
Constructs a new instance of 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
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.
Constructor
1.0.0.0
The context that this object will be attached to.
To be added.
Creates an instance of Application that is attached to an execution context.
This creates an instance of Application attached to the specified execution context.
Property
1.0.0.0
Urho.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.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.
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.
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.FileSystem
Returns the FileSystem 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.
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.Log
Returns the Log subsystem.
To be added.
To be added.
Property
1.0.0.0
Urho.Network
Returns the Network subsystem.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
This method is invoked on each scene update.
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.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.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.
Event
1.0.0.0
System.Action<Urho.SceneUpdateEventArgs>
To be added.
To be added.
Method
1.0.0.0
System.Void
Method invoked to setup your application.
To be added.
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
To be added.
To be added.
To be added.
Property
1.0.0.0
Urho.UI
Returns the UI subsystem.
To be added.
To be added.
Event
1.0.0.0
System.Action<Urho.UpdateEventArgs>
To be added.
To be added.
Property
1.0.0.0
Urho.WorkQueue
Returns the WorkQueue subsystem.
To be added.
To be added.