Click or drag to resize

IMcViewNDCreateAnimation Method

Creates new animation sequence as McImage.

Namespace:  MediaCy.IQL.Display.ViewerND
Assembly:  MediaCy.IQL.Display.ViewerND (in MediaCy.IQL.Display.ViewerND.dll) Version: 10.0.6912.0
Syntax
VB
Function CreateAnimation ( 
	Optional lNumberOfSteps As Integer = -1,
	Optional AngleX As Double = -1,
	Optional AngleY As Double = -1,
	Optional AngleZ As Double = -1,
	Optional Flags As mcImageCreateFlags = mcImageCreateFlags.mcicfDefault
) As McImage

Parameters

lNumberOfSteps (Optional)
Type: SystemInt32
defines the number of frames in the output animation.
AngleX (Optional)
Type: SystemDouble
rotation angle of the total animation around X axis in degrees. (X = horizontal)
AngleY (Optional)
Type: SystemDouble
rotation angle of the total animation around Y axis in degrees. (Y = vertical)
AngleZ (Optional)
Type: SystemDouble
rotation angle of the total animation around Z axis in degrees. (Z= perpendicular to the screen)
Flags (Optional)
Type: MediaCy.IQL.EnginemcImageCreateFlags
image creation flags

Return Value

Type: McImage
Result McImage
Examples
VB
'create circle animation rotating the volume around vertical axis
McViewND1.CreateAnimation 36, 0, 350, 0
See Also