![]() |
Paradox Game Engine
v1.0.0 beta06
|
Add a Sprite to an Entity. It could be an animated sprite. More...
Classes | |
struct | AnimationInfo |
Public Attributes | |
Color | Color = Color.White |
The color to apply on the sprite. More... | |
SpriteEffects | SpriteEffect |
The effect to apply on the sprite. More... | |
Effect | Effect |
The effect to use to render the sprite. More... | |
Static Public Attributes | |
static PropertyKey < SpriteComponent > | Key = new PropertyKey<SpriteComponent>("Key", typeof(SpriteComponent)) |
Properties | |
SpriteGroup | SpriteGroup [get, set] |
The group of sprites associated to the component. More... | |
int | CurrentFrame [get, set] |
Gets or sets the current frame of the animation. More... | |
Sprite | CurrentSprite [get] |
Gets the current sprite. More... | |
override PropertyKey | DefaultKey [get] |
![]() | |
Entity | Entity [get, set] |
Gets or sets the owner entity. More... | |
Entity | EnsureEntity [get] |
Gets the entity and throws an exception if the entity is null. More... | |
virtual PropertyKey | DefaultKey [get] |
The default key this component is associated to. More... | |
![]() | |
string | Url [get, set] |
The URL of this asset. More... | |
Additional Inherited Members | |
![]() | |
EntityComponent () | |
Initializes a new instance of the EntityComponent class. More... | |
![]() | |
static PropertyKey | GetDefaultKey< T > () |
Gets the default key for the specified entity component type. More... | |
Add a Sprite to an Entity. It could be an animated sprite.
Definition at line 21 of file SpriteComponent.cs.
Color SiliconStudio.Paradox.Engine.SpriteComponent.Color = Color.White |
The color to apply on the sprite.
Definition at line 35 of file SpriteComponent.cs.
Effect SiliconStudio.Paradox.Engine.SpriteComponent.Effect |
The effect to use to render the sprite.
Definition at line 47 of file SpriteComponent.cs.
|
static |
Definition at line 23 of file SpriteComponent.cs.
SpriteEffects SiliconStudio.Paradox.Engine.SpriteComponent.SpriteEffect |
The effect to apply on the sprite.
Definition at line 41 of file SpriteComponent.cs.
|
getset |
Gets or sets the current frame of the animation.
Definition at line 74 of file SpriteComponent.cs.
|
get |
Gets the current sprite.
Definition at line 93 of file SpriteComponent.cs.
|
get |
Definition at line 159 of file SpriteComponent.cs.
|
getset |
The group of sprites associated to the component.
Definition at line 58 of file SpriteComponent.cs.