Parentheses can be used to evaluate the results of both of these searches. MaterialDomain=DeferredDecal AND HasSceneColor=False The second operation will evaluate any Material that is a Deferred Decal and that doesn't use Scene Color. The first operation will evaluate any Material that is Translucent and Default Lit. For example, we can perform two searches and then evaluate them to display results. Parentheses can resolve the ambiguity when you start using different operator types. For complex advanced searches, Operators of the same type always combine together. When you use the OR operator, either operation can independently result in True to display its result meaning that not every Material using a Translucent Blend Mode will be using Default Lit. For example, searching for any asset that is using a Translucent Material that is using the Default Lit Shading Model.īlendMode=Translucent AND ShadingModel=DefaultLitīy using the AND operator, both operations testing the Blend Mode and Shading Model must evaluate to True to display any results. Or performing a search for a specific type of asset.īy using the AND, OR, and NOT operators, you can test against multiple search operations at once. Basic Search ExampleĪ basic search takes a metadata object and uses an Operator to test against a string or value.įor example, searching for any Asset that has more than 1500 triangles. For example, Morph Target would be MorphTarget. Metadata is not case-sensitive but does require no spacing between characters. By default, they will perform partial string matches unless a TextCmpExact or TextCmpAnchor operator is used to modify the behavior.īelow are some examples using single and double quotes and backslashes: ![]() Strings can either be quoted (single or double) or not quoted. Quoted strings can contain nested quotes however, you must use a backslash ( \ ) to exit any nested quotes. The main difference between using unquoted and quoted strings is that quoted strings enables the use of spaces and special characters in search terms. The names of any collections that contain the Asset. These special keys only support Equal or NotEqual comparison operators. However, there are several special keys that exist for all Asset types. Most keys available for searching come from Asset metadata that was extracted from the Asset registry. Modifies a text value so that it will perform a "starts with" text comparison. Modifies a text value so that it will perform an "ends with" text comparison. Modifies a text value so that it will perform an "exact" text comparison. Modifies a text value so that it will return the inverted result of the operation it is involved in. Tests the value that follows it and then returns the inverted results. Tests two values and returns true if both evaluate to true. Tests two values and returns true if either evaluate to true. Tests whether the value returned for a given key is greater than or equal to the specified value. Tests whether the value returned for a given key is greater than the specified value. Tests whether the value returned for a given key is not equal to the specified value. Tests whether the value returned for a given key is equal to the specified value. The following table shows the available operators: The advanced search syntax supports sophisticated search queries, enables searching by key-value pairs from Asset metadata, and provides access to special key values. ![]() All rights reserved.The Content Browser enables you to search your content using advanced syntax.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |