Inherits Terraria.Graphics.Shaders.HairShaderData.
|
delegate Color | ColorProcessingMethod (Player player, Color color, ref bool lighting) |
|
override Color | GetColor (Player player, Color lightColor) |
|
LegacyHairShaderData | UseLegacyMethod (ColorProcessingMethod colorProcessor) |
|
| HairShaderData (Ref< Effect > shader, string passName) |
|
virtual void | Apply (Player player, DrawData? drawData=null) |
|
virtual Color | GetColor (Player player, Color lightColor) |
|
HairShaderData | UseColor (Color color) |
|
HairShaderData | UseColor (float r, float g, float b) |
|
HairShaderData | UseColor (Vector3 color) |
|
HairShaderData | UseImage (string path) |
|
HairShaderData | UseOpacity (float alpha) |
|
HairShaderData | UseSaturation (float saturation) |
|
HairShaderData | UseSecondaryColor (Color color) |
|
HairShaderData | UseSecondaryColor (float r, float g, float b) |
|
HairShaderData | UseSecondaryColor (Vector3 color) |
|
HairShaderData | UseTargetPosition (Vector2 position) |
|
| ShaderData (Ref< Effect > shader, string passName) |
|
virtual void | Apply () |
|
void | SwapProgram (string passName) |
|
|
bool | _shaderDisabled |
|
Vector3 | _uColor = Vector3.One |
|
Asset< Texture2D > | _uImage |
|
float | _uOpacity = 1f |
|
float | _uSaturation = 1f |
|
Vector3 | _uSecondaryColor = Vector3.One |
|
bool | ShaderDisabled [get] |
|
Effect | Shader [get] |
|
◆ GetColor()
override Color Terraria.GameContent.Dyes.LegacyHairShaderData.GetColor |
( |
Player |
player, |
|
|
Color |
lightColor |
|
) |
| |
|
virtual |