Urho.Urho2D.Renderer2D Class

2D renderer component.

See Also: Renderer2D

Syntax

public class Renderer2D : Drawable

Requirements

Namespace: Urho.Urho2D
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0

The members of Urho.Urho2D.Renderer2D are listed below.

See Also: Drawable

Public Constructors

Constructs a new instance of Urho.Urho2D.Renderer2D which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.Urho2D.Renderer2D, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.Urho2D.Renderer2D linked to a specific Context.

Protected Constructors

Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.

Public Properties

[read-only]
override
TypeStringHash. Urho's type system type.
[read-only]
override
TypeNameString. Urho's low-level type name.
[read-only]
static
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
[read-only]
static
TypeStaticStringHash. Urho's low-level type, accessible as a static method.
[read-only]
override
UpdateGeometryTypeUpdateGeometryType. Return whether a geometry update is necessary, and if it can happen in a worker thread.

Public Methods

AddDrawable(Drawable2D)
Add Drawable2D.
CheckVisibility(Drawable2D) : Boolean
Check visibility.
GetMaterial(Texture2D, BlendMode) : Material
Return material by texture and blend mode.
static
RegisterObject(Context)
Register object factory.
RemoveDrawable(Drawable2D)
Remove Drawable2D.