|
| AnimatedSprite (Vector2 offset, float rotation, Vector2 scale, Texture2D diffuse, Texture2D? normal, Texture2D? roughness, int layer=0, int material=0, bool isShadowCaster=true, bool isLit=true) |
|
| AnimatedSprite (float rotation, Vector2 scale, Texture2D diffuse, Texture2D? normal, Texture2D? roughness, int layer=0, int material=0, bool isShadowCaster=true, bool isLit=true) |
|
override void | draw (SpriteBatch spriteBatch, int textureIndex) |
|
| Sprite (Vector2 offset, float rotation, Vector2 scale, Texture2D diffuse, Texture2D? normal, Texture2D? roughness, int layer=0, int material=0, bool isShadowCaster=true, bool isLit=true) |
|
| Sprite (float rotation, Vector2 scale, Texture2D diffuse, Texture2D? normal, Texture2D? roughness, int layer=0, int material=0, bool isShadowCaster=true, bool isLit=true) |
|
Vector2 | getPosition () |
|
void | setScale (Vector2 scale) |
|
override void | SetEnabled (bool state) |
|
int | CompareTo (Behaviour? other) |
|
delegate void | EnabledChanged (bool state) |
|
bool | HasTag (string tag) |
|
|
override void | OnStart () |
|
override void | OnUpdate (GameTime gameTime) |
|
override void | OnDestroy () |
|
override void | OnStart () |
|
override void | OnUpdate (GameTime gameTime) |
|
override void | OnDestroy () |
|
virtual void | OnAwake () |
|
virtual void | OnFixedUpdate (GameTime gameTime) |
|
|
Vector2 | offset |
|
Vector2 | offsetToCenter |
|
Point | size |
|
float | rotation = 0 |
|
bool | isShadowCaster |
|
bool | isLit = true |
|
int | material = 0 |
|
int | layer = 0 |
|
readonly uint | InstanceID |
|
readonly HashSet< string > | Tags = new() |
|
Game | Game [get, set] |
|
Node? | Node [get, set] |
|
bool | Enabled = true [get] |
|
string | Name = "Generic Object" [get, protected set] |
|
EnabledChanged? | EnabledChangedEvent |
|
◆ draw()
override void GREngine.Core.PebbleRenderer.AnimatedSprite.draw |
( |
SpriteBatch |
spriteBatch, |
|
|
int |
textureIndex |
|
) |
| |
|
inlinevirtual |
◆ OnDestroy()
override void GREngine.Core.PebbleRenderer.AnimatedSprite.OnDestroy |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ OnStart()
override void GREngine.Core.PebbleRenderer.AnimatedSprite.OnStart |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ OnUpdate()
override void GREngine.Core.PebbleRenderer.AnimatedSprite.OnUpdate |
( |
GameTime |
gameTime | ) |
|
|
inlineprotectedvirtual |
The documentation for this class was generated from the following file:
- GREngine.Core/GREngine.Core.PebbleRenderer/Sprites/AnimatedSprite.cs