You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: ~Document/1. Instant Animator.md
+82-30
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,60 @@ Milease provides a series of extension functions for the `object` type, includin
4
4
5
5
## Creating an Instant Animator
6
6
7
+
### Method 1: Using DSL for Generation (Recommended)
8
+
9
+
Compared to traditional generation methods, we’ve observed that developers often need to specify an easing function. However, the easing function is located further down in the optional parameters list, making it less convenient for developers to clearly observe the start value, end value, animation duration, and start time—especially in editors without `Inlay Hints` support.
10
+
11
+
We use `T4 templates` to generate a series of animation extension functions for `object`, which follow the pattern:
When transitioning the volume from the current volume to a target volume (instead of starting from a specified volume), you can use the following syntax:
0 commit comments