ILNumerics Ultimate VS

GroupFirstUpT Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Finds a group node on the path up to root

[ILNumerics Visualization Engine]

Namespace:  ILNumerics.Drawing
Assembly:  ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax

public T FirstUp<T>(
	Object key = null,
	Predicate<T> predicate = null
)
where T : Group

Parameters

key (Optional)
Type: SystemObject
tag filter, leave null to match all tags
predicate (Optional)
Type: SystemPredicateT
arbitrary predicate, leave null to match any node

Type Parameters

T
The concrete type of the node

Return Value

Type: T
The first node which matches the filter criteria is returned. If no matching node was found, null is returned.
Remarks

The functions startes with the current node and walks up to the root of the scene. The first node found which matches the given filter is returned.

[ILNumerics Visualization Engine]

See Also

Reference