Class MaterialDefinition
A material defined inside a material document.
public class MaterialDefinition
- Inheritance
-
MaterialDefinition
- Inherited Members
Properties
DiffuseMap
Diffuse map.
public string? DiffuseMap { get; }
Property Value
Name
Material name.
public string Name { get; set; }
Property Value
Parameters
Shader parameters.
public Dictionary<string, string> Parameters { get; set; }
Property Value
TemplateName
Name of the material template.
public string TemplateName { get; set; }
Property Value
ToolFlags
Map compiler flags.
public ToolMaterialFlag ToolFlags { get; set; }
Property Value
ToolParameters
Map compiler parameters.
public Dictionary<string, string> ToolParameters { get; set; }
Property Value
Methods
GetParameterString(string)
Safely obtain a parameter string.
public string? GetParameterString(string name)
Parameters
name
string