Properties related to the Sprite module.

Static variables

@:value(new Property<Float>("cursor"))staticread onlycursor:Property<Float> = new Property<Float>("cursor")

The normalized animation cursor.

@:value(new Property<Float>("playback_rate"))staticread onlyplayback_rate:Property<Float> = new Property<Float>("playback_rate")

The animation playback rate. A multiplier to the animation playback rate.

The playback_rate is a non-negative number, a negative value will be clamped to 0.

@:value(new Property<Vector3>("scale"))staticread onlyscale:Property<Vector3> = new Property<Vector3>("scale")

The non-uniform scale of the sprite.

@:value(new Property<Vector3>("size"))staticread onlysize:Property<Vector3> = new Property<Vector3>("size")

(READ ONLY) Returns the size of the sprite, not allowing for any additional scaling that may be applied.

@:value(new Property<Hash>("texture0"))staticread onlytexture0:Property<Hash> = new Property<Hash>("texture0")

(READ ONLY) Returns the texture path hash of the sprite. Used for getting/setting resource data