evCreate API 5.7 Help

AddFadeEffect Function

Animates given parts with a given fade effect during an active 3D animation editing session.

AddFadeEffect(parts: [[[EvItem|canvas-envision-document-items.html#part-items]]][], effect: [[[EvAnimationFadeEffect|evanimationfadeeffect-interface.html]]]): Promise<void>

Parameters

parts: EvItem[]

An array of Part item objects, one or more part items of a 3D model currently edited in an active 3D animation editing session that should be animated with the given fade effect.

effect: EvAnimationFadeEffect

An EvAnimationFadeEffect object, given settings of a fade effect that should be applied to the given part items during the active 3D animation editing session.

Return value

Promise<void>

A Promise that, if fulfilled, resolves to void if the given parts have been successfully animated with the given fade effect during the active 3D animation editing session.

Discussion

The function will throw an error if the 3D animation editing mode has not been activated.

28 April 2025