ShaderDef.Category operator

Introduced

v9.0 (2011)

Description

Returns or sets the category as a String. The category is used to determine where the shader preset will appear in the preset manager in the render tree. For example, the native Softimage Checkerboard shader appears under the "Texture" category.

Warning: If you do not specify a Category, your shader definition will not appear in the preset manager.

C# Syntax

// get accessor
String rtn = ShaderDef.Category;
// set accessor
ShaderDef.Category = String;

See Also

Populating the Preset Manager