TweenInfo

Afficher les obsolètes

The TweenInfo data type stores parameters for TweenService:Create() to specify the behavior of the tween. The properties of a TweenInfo cannot be written to after its creation.

Résumé

Constructeurs

Propriétés

Constructeurs

new

Paramètres

time: number
Valeur par défaut : 1
easingStyle: Enum.EasingStyle
Valeur par défaut : Enum.EasingStyle.Quad
easingDirection: Enum.EasingDirection
Valeur par défaut : Enum.EasingDirection.Out
repeatCount: number
Valeur par défaut : 0
reverses: bool
Valeur par défaut : false
delayTime: number
Valeur par défaut : 0

Propriétés

EasingDirection

The direction in which the EasingStyle executes.

Time

The amount of time the tween takes in seconds.

DelayTime

The amount of time that elapses before tween starts in seconds.

RepeatCount

The number of times the tween repeats after tweening once.

EasingStyle

The style in which the tween executes.

Reverses

Whether or not the tween does the reverse tween once the initial tween completes.