Urho
1.0.0.0
Urho.UrhoObject
Internal structure for 3D rendering work. Created for each backbuffer and texture viewport, but not for shadow cameras.
To be added.
Constructor
1.0.0.0
Preserve
Constructs a new instance of Urho.View which is tied to the .
Constructor
1.0.0.0
Preserve
Pointer to the raw unmanaged Urho object.
Constructs a new instance of Urho.View, 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
Preserve
The context that this object will be attached to.
Constructs a new instance of Urho.View linked to a specific .
Constructor
1.0.0.0
Preserve
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.
Event
1.0.0.0
System.Action<Urho.BeginViewUpdateEventArgs>
To be added.
The event can register multiple callbacks and invoke all of them. If this is not desired, and you only need a single shot callback, you can use the method. That one will force that callback and will ignore any previously set events here.
Property
1.0.0.0
Urho.Camera
Return camera.
To be added.
To be added.
Property
1.0.0.0
Urho.Camera
Return culling camera. Normally same as the viewport camera.
To be added.
To be added.
Method
1.0.0.0
System.Boolean
To be added.
To be added.
Define with rendertarget and viewport. Return true if successful.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Return whether should draw debug geometry.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Draw a fullscreen quad. Shaders and renderstates must have been set beforehand. Quad will be drawn to the middle of depth range, similarly to deferred directional lights.
To be added.
Event
1.0.0.0
System.Action<Urho.EndViewUpdateEventArgs>
To be added.
The event can register multiple callbacks and invoke all of them. If this is not desired, and you only need a single shot callback, you can use the method. That one will force that callback and will ignore any previously set events here.
Method
1.0.0.0
Urho.Texture
To be added.
To be added.
To be added.
Get a named texture from the rendertarget list or from the resource cache, to be either used as a rendertarget or texture binding.
To be added.
To be added.
Property
1.0.0.0
Urho.Graphics
Return graphics subsystem.
To be added.
To be added.
Property
1.0.0.0
System.UInt32
Return number of occluders that were actually rendered. Occluders may be rejected if running out of triangles or if behind other occluders.
To be added.
To be added.
Property
1.0.0.0
Urho.OcclusionBuffer
Return the last used software occlusion buffer.
To be added.
To be added.
Property
1.0.0.0
Urho.Octree
Return octree.
To be added.
To be added.
Method
1.0.0.0
System.Void
Render batches.
To be added.
Property
1.0.0.0
Urho.Renderer
Return renderer subsystem.
To be added.
To be added.
Property
1.0.0.0
Urho.RenderSurface
Return the rendertarget. 0 if using the backbuffer.
To be added.
To be added.
Property
1.0.0.0
Urho.Scene
Return scene.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set camera-specific shader parameters. Called by Batch and internally by View.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set command's shader parameters if any. Called internally by View.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Set G-buffer offset and inverse size shader parameters. Called by Batch and internally by View.
To be added.
Method
1.0.0.0
System.Void
Set global (per-frame) shader parameters. Called by Batch and internally by View.
To be added.
Method
1.0.0.0
System.Void
To be added.
Internal use.
To be added.
Property
1.0.0.0
Urho.View
Return the source view that was already prepared. Used when viewports specify the same culling camera.
To be added.
To be added.
Method
1.0.0.0
System.Obsolete("SubscribeTo API may lead to unxpected behaviour and will be removed in a future version. Use C# event '.BeginViewUpdate += ...' instead.")
Urho.Subscription
The handler to invoke when this event is raised.
Subscribes to the BeginViewUpdate event raised by the View.
Returns an Urho.Subscription that can be used to cancel the subscription.
This method will override any prior subscription, including those assigned to on event handlers.
This has the advantage that it does a straight connection and returns a handle that is easy to unsubscribe from.
For a more event-like approach, use the event.
Method
1.0.0.0
System.Obsolete("SubscribeTo API may lead to unxpected behaviour and will be removed in a future version. Use C# event '.EndViewUpdate += ...' instead.")
Urho.Subscription
The handler to invoke when this event is raised.
Subscribes to the EndViewUpdate event raised by the View.
Returns an Urho.Subscription that can be used to cancel the subscription.
This method will override any prior subscription, including those assigned to on event handlers.
This has the advantage that it does a straight connection and returns a handle that is easy to unsubscribe from.
For a more event-like approach, use the event.
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
Preserve
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.IntRect
Return view rectangle.
To be added.
To be added.
Property
1.0.0.0
Urho.IntVector2
Return view dimensions.
To be added.
To be added.