Astra Unity 2.6.6
Astra Unity Plugin
Astra.Catalog.CatalogSearchOptions Class Reference

Public Types

enum  SearchType {
  Exact = 0 , Contains = 1 , StartsWith = 2 , EndsWith = 3 ,
  NotContains = 4 , NotStartsWith = 5 , NotEndsWith = 6
}
 
enum  ConditionLogicType { And = 0 , Or = 1 }
 
enum  InstalledType { All = 0 , Installed = 1 , NotInstalled = 2 }
 
enum  SortColumn { None = 0 , Id = 1 , AssetName = 2 , Installed = 3 }
 
enum  SortDirection { Ascending = 0 , Descending = 1 }
 

Public Attributes

List< SchematicType > types = new List<SchematicType>()
 A schematic type such as ClothItem, HairItem, FigureItem, etc.
 
bool caseSensitive = false
 Case Sensitive matching
 
string name = string.Empty
 Search by asset name
 
List< string > rigGuids = new List<string>()
 If you want to limit the results to items that are compatibile with one or more rigs, commonly done on cloth/hair/etc
 
List< string > meshGuids = new List<string>()
 If you want to limit the resutls to items that are compatible with a specific mesh, commonly done on Static DecalItems
 
List< string > assetGuids = new List<string>()
 If you want to limit the results to items that match specific id(s)
 
List< string > tags = new List<string>()
 If you want to limit the results to items have specific tags, commonly done with morphs and cloths
 
InstalledType installedType = InstalledType.All
 Search by installed assets or not
 
ConditionLogicType conditionLogic = ConditionLogicType.And
 Conditional logic to use while searching with multiple criteria
 
SearchType searchType = SearchType.Contains
 Search Criteria for matching
 
SortColumn sortColumn = SortColumn.None
 Search sorting
 
SortDirection sortDirection = SortDirection.Ascending
 Search sort direction
 

The documentation for this class was generated from the following file: