Urho.Urho2D.StaticSprite2D Class

Static sprite renderer component.

See Also: StaticSprite2D


public class StaticSprite2D : Drawable2D


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


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

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.
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.
SpriteAttrResourceRef. Return sprite attribute.
TypeStringHash. Urho's type system type.
TypeNameString. Urho's low-level type name.
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
TypeStaticStringHash. Urho's low-level type, accessible as a static method.
UseHotSpotBoolean. Return use hot spot. Or Set use hot spot.

Public Methods

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