Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Filter(includeFolder: bool, params states: States[]): AssetList;
AssetList Filter(bool includeFolder, params States[] states);
def Filter(includeFolder as bool, *states as States[]) as AssetList

Parameters

includeFolderWhether or not folders should be included.
statesWhich states to filter by.

Description

Based on the current list and the states a new list is returned which only contains the assets with the requested states.