new TargetedAnimation(clip, target, defaults)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
clip |
any | ||
target |
any | ||
defaults |
any |
<optional> |
Extends
Members
-
delay :number
-
- Inherited From:
-
duration :number
-
- Inherited From:
-
easing :string
-
- Inherited From:
-
loop :string
-
- Overrides:
-
loopDelay :number
-
- Inherited From:
-
loopMax :number
-
- Inherited From:
-
progress :number
-
- Inherited From:
-
stopWhenFinished :boolean
-
- Inherited From:
-
time :number
-
- Inherited From:
Methods
-
clearEvents() → {ht.Animation.TargetedAnimation}
-
Returns:
ht.Animation.TargetedAnimation- Inherited From:
-
fireEvent(key) → {ht.Animation.TargetedAnimation}
-
Parameters:
Name Type Description key
string Returns:
ht.Animation.TargetedAnimation- Inherited From:
-
isPaused() → {boolean}
-
Returns:
boolean- Inherited From:
-
isRunning() → {boolean}
-
Returns:
boolean- Inherited From:
-
off(key, action) → {ht.Animation.TargetedAnimation}
-
Parameters:
Name Type Description key
string action
function Returns:
ht.Animation.TargetedAnimation- Inherited From:
-
on(key, action) → {ht.Animation.TargetedAnimation}
-
Parameters:
Name Type Description key
string action
function Returns:
ht.Animation.TargetedAnimation- Inherited From:
-
pause() → {ht.Animation.TargetedAnimation}
-
Returns:
ht.Animation.TargetedAnimation- Inherited From:
-
play(speed, start, loop) → {ht.Animation.TargetedAnimation}
-
Parameters:
Name Type Description speed
number start
number loop
string Returns:
ht.Animation.TargetedAnimation- Inherited From:
-
resume() → {ht.Animation.TargetedAnimation}
-
Returns:
ht.Animation.TargetedAnimation- Inherited From:
-
scale(scale) → {ht.Animation.Timer}
-
Parameters:
Name Type Description scale
number Returns:
ht.Animation.Timer- Inherited From:
-
scaleTo(duration) → {ht.Animation.Timer}
-
Parameters:
Name Type Description duration
number Returns:
ht.Animation.Timer- Inherited From:
-
shift(time) → {ht.Animation.Timer}
-
Parameters:
Name Type Description time
number Returns:
ht.Animation.Timer- Inherited From:
-
stop() → {ht.Animation.TargetedAnimation}
-
Returns:
ht.Animation.TargetedAnimation- Inherited From: