Urho.Urho2D.StaticSprite2D Class

Static sprite renderer component.

See Also: StaticSprite2D

Syntax

public class StaticSprite2D : Drawable2D

Remarks

Renders static sprites that have been loaded with the single image files (Sprite2D) or  spritesheets/texture atlases that are loaded using SpriteSheet2D class. 

Requirements

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

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

See Also: Drawable2D

Public Constructors

Constructs a new instance of Urho.Urho2D.StaticSprite2D which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.Urho2D.StaticSprite2D, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.Urho2D.StaticSprite2D 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

AlphaSingle. Return alpha. Or Set alpha.
BlendModeBlendMode. Return blend mode. Or Set blend mode.
ColorColor. Return color. Or Set color.
CustomMaterialMaterial. Return custom material. Or Set custom material.
[read-only]
CustomMaterialAttrResourceRef. Return custom material attribute.
FlipXBoolean. Return flip X. Or Set flip X.
FlipYBoolean. Return flip Y. Or Set flip Y.
HotSpotVector2. Return hot spot. Or Set hot spot.
SpriteSprite2D. Return sprite. Or Set sprite.
[read-only]
SpriteAttrResourceRef. Return sprite attribute.
[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.
UseDrawRectBoolean.
UseHotSpotBoolean. Return use hot spot. Or Set use hot spot.
UseTextureRectBoolean.

Public Methods

static
RegisterObject(Context)
Register object factory. Drawable2D must be registered first.
SetFlip(Boolean, Boolean)
Set flip.