Data shared by all note style assets.

Fields

@:default(1.0)@:optionaloptionalscale:Null<Float>

* The scale to render the note at. * @default 1.0

@:default([0, 0])@:optionaloptionaloffsets:Null<Array<Float>>

* Offset the sprite's position by this amount. * @default [0, 0]

@:default(false)@:optionaloptionalisPixel:Null<Bool>

* If true, the note is a pixel sprite, and will be rendered without anti-aliasing.

@:optionaloptionaldata:Null<T>

* The structure of this data depends on the asset.

assetPath:String

* The image to use for the asset. May be a Sparrow sprite sheet.

@:default(false)@:optionaloptionalanimated:Null<Bool>

* If true, animations will be played on the graphic. * @default `false` to save performance.

@:default(1.0)@:optionaloptionalalpha:Null<Float>