Attributes
- Companion
- class
- Graph
-
- Supertypes
- Self type
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Inherited methods
This is a helper method which will return a non-empty list of items of type T, if and only if all of the given nodes are of type T.
This is a helper method which will return a non-empty list of items of type T, if and only if all of the given nodes are of type T.
Type parameters
- T
-
the type you're interested in
Value parameters
- nodes
-
a list of SceneNode
Attributes
- Returns
-
the elements in the nodes list, as a List[T], if all of them are of type T, or an empty list otherwise.
- Inherited from:
- NodeListFilters
This is a helper methode which returns a non-empty Option[T] if and only if the list of nodes consists of a single item of type T
This is a helper methode which returns a non-empty Option[T] if and only if the list of nodes consists of a single item of type T
Type parameters
- T
-
the type you're interested in
Value parameters
- nodes
-
a list of SceneNode
Attributes
- Returns
-
Some[T] if the list consisted of a single item of type T, or None otherwise
- Inherited from:
- NodeListFilters
This is a helper method which will filter a list of nodes, and return those which are of a given type T.
This is a helper method which will filter a list of nodes, and return those which are of a given type T.
Type parameters
- T
-
the type you're interested in
Value parameters
- nodes
-
a list of SceneNode
Attributes
- Returns
-
all the elements in the nodes list which are of type T, as a List[T]
- Inherited from:
- NodeListFilters