Animation Module
Public contract module exposed by this FS.Skia.UI package.
Functions and values
| Function or value |
Description
|
|
Pure sampling: produce the target scene transformed for the given time sample. Identity-at-rest rule (R5): when the sampled opacity is `1.0` and the sampled transform is identity, returns the target scene's node unwrapped (byte-identical to static); a non-identity transform lowers to a `PerspectiveNode`.
|
The no-op animation: every property absent. `applyAt` over `empty` returns the target unwrapped at every time sample.
|
|
|
|
|
|
Full Usage:
lerpFloat a b t
Parameters:
float
b : float
t : float
Returns: float
|
Linear interpolation between two floats (the `'a = float` interpolant passed to `Tween.sample` / `AnimationState.create`). Sibling of `lerpColor` and `Transform.lerp`. Lives here because a namespace cannot hold a bare value.
|
|