- toAnimation(anim, patterns): EditAnimation
Parameters
- anim: Readonly<Required<Partial<Readonly<{
data: Partial<Readonly<{
category: number;
color: Partial<Readonly<{
rgbColor: ...;
type: ...;
}>>;
count: number;
defaultPreviewSettings: Partial<Readonly<{
design: ...;
}>>;
dieType: number;
duration: number;
faces: number;
fade: number;
gradient: Partial<Readonly<{
keyframes: ...;
uuid: ...;
}>>;
intensity: number;
name: string;
overrideWithFace: boolean;
patternIndex: number;
traveling: boolean;
uuid: string;
}>>;
type: number;
}>>>> - patterns: readonly EditPattern[]