|
| 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) |
|
virtual void | draw (SpriteBatch spriteBatch, int textureIndex) |
|
override void | SetEnabled (bool state) |
|
int | CompareTo (Behaviour? other) |
|
delegate void | EnabledChanged (bool state) |
|
bool | HasTag (string tag) |
|
|
Vector2 | offset |
|
Vector2 | offsetToCenter |
|
Point | size |
|
float | rotation = 0 |
|
bool | isShadowCaster |
|
bool | isLit = true |
|
int | material = 0 |
|
int | layer = 0 |
|
|
override void | OnStart () |
|
override void | OnUpdate (GameTime gameTime) |
|
override void | OnDestroy () |
|
virtual void | OnAwake () |
|
virtual void | OnFixedUpdate (GameTime gameTime) |
|
|
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 |
|
◆ OnDestroy()
override void GREngine.Core.PebbleRenderer.Sprite.OnDestroy |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ OnStart()
override void GREngine.Core.PebbleRenderer.Sprite.OnStart |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ OnUpdate()
override void GREngine.Core.PebbleRenderer.Sprite.OnUpdate |
( |
GameTime |
gameTime | ) |
|
|
inlineprotectedvirtual |
The documentation for this class was generated from the following file:
- GREngine.Core/GREngine.Core.PebbleRenderer/Sprites/Sprite.cs