documentationfor yFiles for HTML 2.6

Usages of WebGL2Animation

Method Return Values

createArcHeightAnimation (WebGL2AnimationTiming?)in WebGL2GraphModelManagerCreates an animation that animates the height of a WebGL2ArcEdgeStyle and WebGL2BridgeEdgeStyle.
createBeaconAnimation (WebGL2BeaconAnimationType?, Color?, number?, number?, number?, number?, boolean?, boolean?, WebGL2AnimationTiming?)in WebGL2GraphModelManagerCreates a beacon effect around nodes and edges.
createDashAnimation (number?, WebGL2AnimationTiming?)in WebGL2GraphModelManagerCreates an animation that animates the dash pattern of a WebGL2PolylineEdgeStyle, WebGL2ArcEdgeStyle, and WebGL2BridgeEdgeStyle.
createEffectFadeAnimation (WebGL2FadeAnimationType, Color?, Color?, WebGL2AnimationTiming?)in WebGL2GraphModelManagerCreates an animation that fades the colors of item effects like AMBIENT_FILL_COLOR.
createEffectPulseAnimation (WebGL2PulseAnimationType?, number?, boolean?, WebGL2AnimationTiming?)in WebGL2GraphModelManagerCreates an animation that applies a pulsating effect to item effects like AMBIENT_FILL_COLOR.
createEffectScaleAnimation (WebGL2ScaleAnimationType?, number?, boolean?, WebGL2AnimationTiming?)in WebGL2GraphModelManagerCreates an animation that applies a scaling effect to item effects.
createFadeAnimation (WebGL2FadeAnimationType, Color?, Color?, WebGL2AnimationTiming?)in WebGL2GraphModelManagerCreates an animation that fades the colors of nodes, edges, or labels.
createHaloAnimation (Color?, number?, boolean?, WebGL2AnimationTiming?)in WebGL2GraphModelManagerCreates a solid halo effect around nodes.
createPulseAnimation (WebGL2PulseAnimationType?, number?, boolean?, WebGL2AnimationTiming?)in WebGL2GraphModelManagerCreates an animation that applies a pulsating effect to nodes, labels, or edges.
createScaleAnimation (WebGL2ScaleAnimationType?, number?, boolean?, WebGL2AnimationTiming?)in WebGL2GraphModelManagerCreates an animation that applies a scaling effect to nodes, edges, or labels.
createShakeAnimation (WebGL2ShakeAnimationType, number?, boolean?, WebGL2AnimationTiming?)in WebGL2GraphModelManagerCreates an animation that applies a shake effect to nodes, edges, or labels.
getAnimations (IModelItem)in WebGL2GraphModelManagerReturns the currently associated animations for the given item.

Method Parameters

setAnimations (INode, WebGL2Animation)in WebGL2GraphModelManagerSets the animations to apply to the node.
setAnimations (IEdge, WebGL2Animation)in WebGL2GraphModelManagerSets the animations to apply to the edge.
setAnimations (ILabel, WebGL2Animation)in WebGL2GraphModelManagerSets the animations to apply to the label.