Method GetSubObjectsFiltered
GetSubObjectsFiltered(string)
Lists the components and hosted objects of this object on any level of hierarchy matching the given criteria expression.
Declaration
public IList<Scene.Object> GetSubObjectsFiltered(string filterExpression)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filterExpression | The filter expression to use. See GetObjectsFiltered(string) for details. |
Returns
| Type | Description |
|---|---|
| IList<Scene.Object> | The list of the objects that have matched the given criteria. |
Remarks
This method is left for the compatibility with existing plugins. You can use LINQ queries on Children or HostedObjects to get much more flexibility and readability, though with some reasonable perfomance overhead.