| AnimationHelperGetDescendants Method (AnimationInstance) |
Gets the descendants of the
AnimationInstance in the animation tree using a
depth-first search.
Namespace: DigitalRune.AnimationAssembly: DigitalRune.Animation (in DigitalRune.Animation.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax public static IEnumerable<AnimationInstance> GetDescendants(
this AnimationInstance animationInstance
)
<ExtensionAttribute>
Public Shared Function GetDescendants (
animationInstance As AnimationInstance
) As IEnumerable(Of AnimationInstance)
public:
[ExtensionAttribute]
static IEnumerable<AnimationInstance^>^ GetDescendants(
AnimationInstance^ animationInstance
)
[<ExtensionAttribute>]
static member GetDescendants :
animationInstance : AnimationInstance -> IEnumerable<AnimationInstance>
Parameters
- animationInstance
- Type: DigitalRune.AnimationAnimationInstance
The animation instance where to start the search.
Return Value
Type:
IEnumerableAnimationInstance
The descendants of
animationInstance in the animation tree.
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 See Also