Classes
Class | Description | |
---|---|---|
![]() | Batch | |
![]() | Batch2D |
For rendering sprites in batches, use verticesUV, verticesColorUV or verticesColor to add
2D vertices data to be rendered and call AddIndices or build your own indices.
View code on GitHub |
![]() | BatchRenderer |
Batches by Material and BlendMode for rendering
View code on GitHub |
![]() | BatchRenderer2D | |
![]() | BatchRenderer2D BatchRenderer2DCannotBeUsedToRender3D | |
![]() | Entity2D |
Basis of all 2D entity objects to render like lines, sprites etc.
View code on GitHub |
![]() | Entity2DExtensions |
Simplifies applying simple physics to an entity
View code on GitHub |
![]() | FadeEffect | |
![]() | FadeEffect TransitionData | |
![]() | HierarchyEntity2D | |
![]() | SimplePhysics |
Groups various simple "physics" effects that can be applied to Entities.
These do neither use actual physics functionality nor provide interaction to objects that do,
but can prove to be a more efficient solution if just aiming for plain movement of sprites.
View code on GitHub |
![]() | SimplePhysics BounceIfAtScreenEdge |
Changes the velocity of an entity if it is at a screen edge.
Is used in tandem with Move.
View code on GitHub |
![]() | SimplePhysics Data |
Holds SimplePhysics related data
View code on GitHub |
![]() | SimplePhysics KillAfterDurationReached |
When the duration is complete it removes the Entity from the Entity System.
View code on GitHub |
![]() | SimplePhysics Move |
Causes an Entity2D to move and fall under gravity.
When the duration is complete it removes the Entity from the Entity System
View code on GitHub |
![]() | SimplePhysics MoveUV | |
![]() | SimplePhysics Rotate |
Rotates an Entity2D every frame
View code on GitHub |
![]() | Sprite |
2D sprite to be rendered, which is an image or animation or sprite sheet used as an Entity2D.
View code on GitHub |
![]() | Sprite RenderingDataComponentAddingIsNotSupported | |
![]() | SpriteRenderer | |
![]() | UpdateImageAnimation |
Updates current frame for a sprite animation
View code on GitHub |
![]() | UpdateSpriteSheetAnimation |
Updates current frame for a sprite sheet animation
View code on GitHub |