Exemplo n.º 1
0
 protected override void Draw(GiaScene context, Batcher batcher, Entity entity, ref AABB bounds)
 {
     ref var text = ref entity.Get <Text>();
Exemplo n.º 2
0
 string DrawCallNub(GiaScene context)
 {
     return($"{Core.DrawCalls} Draws");
 }
Exemplo n.º 3
0
 protected override void DebugDraw(GiaScene context, Batcher batcher, Entity entity, ref AABB bounds)
 {
     Gia.Debug.DeferWorldHollowRect(bounds.Bounds, Color.Orange);
     Gia.Debug.DeferWorldPixel(bounds.Bounds.Location, Color.Orange, 4);
 }
Exemplo n.º 4
0
 string FpsNub(GiaScene context)
 {
     return(((int)(1f / Time.UnscaledDeltaTime)).ToString() + " FPS");
 }