Class SceneFinderBase<TSceneElementType, TNode, TComponent>
Base class serving for various searches over scene graphs. See the list of derived classes.
Inheritance
System.Object
Visitor<TNode, TComponent>
SceneFinderBase<TSceneElementType, TNode, TComponent>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Xene
Assembly: Fusee.Xene.dll
Syntax
public class SceneFinderBase<TSceneElementType, TNode, TComponent> : Visitor<TNode, TComponent> where TNode : class, INode where TComponent : class, IComponent
Type Parameters
Name | Description |
---|---|
TSceneElementType | The concrete type of the components to look for. |
TNode | The concrete base type for nodes used in the scene graph being traversed. |
TComponent | The concrete base type for components used in the scene graph being traversed. |
Constructors
SceneFinderBase(IEnumerator<TNode>, Predicate<TSceneElementType>)
Initializes a new instance of the SceneFinderBase<TSceneElementType, TNode, TComponent> class.
Declaration
public SceneFinderBase(IEnumerator<TNode> rootList, Predicate<TSceneElementType> match)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerator<TNode> | rootList | The root list. |
System.Predicate<TSceneElementType> | match | The match. |
Fields
_match
Declaration
protected Predicate<TSceneElementType> _match
Field Value
Type | Description |
---|---|
System.Predicate<TSceneElementType> |
_rootList
Declaration
protected IEnumerator<TNode> _rootList
Field Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<TNode> |
Methods
Reset()
Resets this instance.
Declaration
public void Reset()