Skip to content
ChartForgeX
Command

New-ImageVisualMotionCue

Module imageplayground
Inputs
None
Outputs
ChartForgeX.Motion.VisualMotionCue

Creates one named motion cue for an animated ChartForgeX visual story.

Syntax

New-ImageVisualMotionCue [-DelaySeconds <Double>] [-DistancePixels <Double>] [-DurationSeconds <Double>] [-Easing <Linear|EaseOut|EaseInOut|Emphasized>] [-Effect] <Fade|Rise|Reveal|Scale|Pulse> [-TargetId] <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Use this cmdlet inside the MotionDefinition block of New-ImageVisualStory. Each cue targets the stable id assigned to a visual-grid panel or the built-in title and subtitle targets.

Examples

Authored help example

Reveal the story title

New-ImageVisualMotionCue -TargetId title -Effect Reveal -DurationSeconds 0.9

Creates a restrained left-to-right title reveal with the default emphasized easing.

Parameters

-DelaySeconds Double optional
Delay before the cue starts, in seconds.
-DistancePixels Double optional
Travel distance used by positional effects, in pixels.
-DurationSeconds Double optional
Cue duration, in seconds.
-Easing VisualMotionEasing optional
Timing curve used by the cue.
Possible values: Linear, EaseOut, EaseInOut, Emphasized
-Effect VisualMotionEffect requiredposition: 1
Entrance or emphasis effect.
Possible values: Fade, Rise, Reveal, Scale, Pulse
-TargetId String requiredposition: 0
Stable panel id, or the built-in title or subtitle target.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.