SpriteComponent.SourceRect Property
Definition¶
Namespace: Brine2D.Systems.Rendering
Source rectangle in the texture (null = entire texture). Use this for sprite sheets and texture atlases.
public System.Nullable<Brine2D.Core.Rectangle> SourceRect { get; set; }