Warning
Nightly releases are generated automatically from the latest source code and are intended for experimental purposes only. These builds may contain incomplete or untested features, bugs, or security vulnerabilities, and as such, are not for production use. Users should be aware that nightly releases may cause unexpected behavior, data loss, or system instability. Use of these releases is at the user's own risk, and it is advised to have adequate backups before testing. The software is provided as is with no guarantees or support.
AnimationFrame¶
Type Alias AnimationFrame
center?: [number, number, number];
color?:
| [number, number, number]
| [number, number, number, number]
| string
| null;
enabled?: boolean;
opacity?: number;
rotation?: [number, number, number] | [number, number, number, number];
scale?: [number, number, number];
time?: number;
translation?: [number, number, number];
}
Type declaration
Optional
center?: [number, number, number]The center point which is used for all rotation and scale interpolations.
Optional
color?: [number, number, number] | [number, number, number, number] | string | nullThe color as [r,g,b], [r,g,b,a], string (hexadecimal value or HTML Color Code). Use null to reset.
Optional
enabled?: booleanThe enabled state as true or false.
Optional
opacity?: numberThe opacity between 0 and 1.
Optional
rotation?: [number, number, number] | [number, number, number, number]The rotation as Euler angles [x,y,z] or Quaternion [C,xS,yS,zS].
Optional
scale?: [number, number, number]The scale as [x,y,z].
Optional
time?: numberThe time between 0 and 1. Indicates the progress of the animation sequence for this AnimationFrame.
Optional
translation?: [number, number, number]The translation as [x,y,z].
An AnimationFrame defines a single state inside of an animation sequence.