Click or drag to resize
DigitalRuneAnimationHelperGetRoot Method
Returns the root instance of an animation tree.

Namespace: DigitalRune.Animation
Assembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax
public static AnimationInstance GetRoot(
	this AnimationInstance animationInstance
)

Parameters

animationInstance
Type: DigitalRune.AnimationAnimationInstance
The animation instance where to start the search.

Return Value

Type: AnimationInstance
The root instance.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AnimationInstance. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionanimationInstance is .
See Also