WorkletAnimationEffect Class
An animator effect (https://drafts.css-houdini.org/css-animation-worklet-1/#animator-effect): the effect of a worklet animation in the animation worklet. The animate() callback of the animator sets its local time, which is synced to the effect after the callback.
public sealed class WorkletAnimationEffectProperties
| Name | Description |
|---|---|
| LocalTime | Gets or sets the local time of the effect, in milliseconds, or null when it is unresolved (https://drafts.css-houdini.org/css-animation-worklet-1/#dom-workletanimationeffect-localtime). |
LocalTime
WorkletAnimation.csGets or sets the local time of the effect, in milliseconds, or null when it is unresolved (https://drafts.css-houdini.org/css-animation-worklet-1/#dom-workletanimationeffect-localtime).
public double? LocalTime { get; set; }Methods
| Name | Description |
|---|---|
| GetComputedTiming() | Returns the calculated timing properties of the corresponding effect at the local time of this animator effect (https://drafts.css-houdini.org/css-animation-worklet-1/#dom-workletanimationeffect-getcomputedtiming). |
| GetTiming() | Returns the specified timing properties of the corresponding effect (https://drafts.css-houdini.org/css-animation-worklet-1/#dom-workletanimationeffect-gettiming). |
GetComputedTiming()
WorkletAnimation.csReturns the calculated timing properties of the corresponding effect at the local time of this animator effect (https://drafts.css-houdini.org/css-animation-worklet-1/#dom-workletanimationeffect-getcomputedtiming).
public ComputedEffectTiming GetComputedTiming()GetTiming()
WorkletAnimation.csReturns the specified timing properties of the corresponding effect (https://drafts.css-houdini.org/css-animation-worklet-1/#dom-workletanimationeffect-gettiming).
public EffectTiming GetTiming()