Class Speedtree8ShaderController
- Namespace
- AwesomeTechnologies.Shaders
- Assembly
- Assembly-CSharp.dll
public class Speedtree8ShaderController : IShaderController
- Inheritance
-
Speedtree8ShaderController
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
Speedtree8ShaderController()
public Speedtree8ShaderController()
Properties
Settings
public ShaderControllerSettings Settings { get; set; }
Property Value
- ShaderControllerSettings
Methods
CreateDefaultSettings(Material[])
public void CreateDefaultSettings(Material[] materials)
Parameters
materials Material[]
GetColorFromMaterials(Material[], string, string, bool)
public static Color GetColorFromMaterials(Material[] materials, string propertyName, string keyword, bool requireKeyword)
Parameters
materials Material[]
propertyName string
keyword string
requireKeyword bool
Returns
- Color
MatchBillboardShader(Material[])
public bool MatchBillboardShader(Material[] materials)
Parameters
materials Material[]
Returns
- bool
MatchShader(string)
public bool MatchShader(string shaderName)
Parameters
shaderName string
Returns
- bool
StaticMatchShader(string)
public static bool StaticMatchShader(string shaderName)
Parameters
shaderName string
Returns
- bool
UpdateMaterial(Material, EnvironmentSettings)
public void UpdateMaterial(Material material, EnvironmentSettings environmentSettings)
Parameters
material Material
environmentSettings EnvironmentSettings
UpdateWind(Material, WindSettings)
public void UpdateWind(Material material, WindSettings windSettings)
Parameters
material Material
windSettings WindSettings