Skip to content

SpriteFrame.HitBox Property

Definition

Namespace: Brine2D.Animation

Optional per-frame hit/collision box in local space (pixels, relative to the frame's top-left corner). Shorthand for the named box stored under HitBoxSliceName.

public System.Nullable<Brine2D.Core.Rectangle> HitBox { get; set; }

Property Value

System.Nullable<Rectangle>