Variable AnimationCreateFromSnippetAsyncConst
AnimationCreateFromSnippetAsync: (
this: void | typeof Animation,
snippetId: string,
) => Promise<Animation | Animation[]> = AnimationParseFromSnippetAsync
this: void | typeof Animation,
snippetId: string,
) => Promise<Animation | Animation[]> = AnimationParseFromSnippetAsync
Type Declaration
-
- (
this: void | typeof Animation,
snippetId: string,
): Promise<Animation | Animation[]> -
Creates an animation or an array of animations from a snippet saved by the Inspector
Parameters
- this: void | typeof Animation
- snippetId: string
defines the snippet to load
Returns Promise<Animation | Animation[]>
a promise that will resolve to the new animation or a new array of animations
- (
Creates an animation or an array of animations from a snippet saved by the Inspector