Skip to content

AsepriteClipLoader.PivotSliceName Property

Definition

Namespace: Brine2D.Animation

Name of the Aseprite slice whose pivot data is mapped to Origin. Defaults to "hitbox" (same slice as HitBoxSliceName), which matches the common Aseprite workflow of placing a pivot on the primary hitbox slice. Set to a different slice name when you use a dedicated pivot slice (e.g. "pivot"). When multiple slices carry pivot data for the same frame, only the slice matching this name is used; others are logged as warnings and ignored.

public string PivotSliceName { get; set; }

Property Value

System.String