terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.GameContent.Dyes.LegacyHairShaderData Class Reference
+ Inheritance diagram for Terraria.GameContent.Dyes.LegacyHairShaderData:
+ Collaboration diagram for Terraria.GameContent.Dyes.LegacyHairShaderData:

Public Member Functions

 LegacyHairShaderData ()
 
override Color GetColor (Player player, Color lightColor)
 
LegacyHairShaderData UseLegacyMethod (LegacyHairShaderData.ColorProcessingMethod colorProcessor)
 
delegate Color ColorProcessingMethod (Player player, Color color, ref bool lighting)
 
virtual void Apply (Player player, DrawData? drawData=null)
 
virtual void Apply (Entity entity, DrawData? drawData=null)
 
virtual void Apply ()
 
HairShaderData UseColor (float r, float g, float b)
 
HairShaderData UseColor (Color color)
 
HairShaderData UseColor (Vector3 color)
 
HairShaderData UseImage (string path)
 
HairShaderData UseOpacity (float alpha)
 
HairShaderData UseSecondaryColor (float r, float g, float b)
 
HairShaderData UseSecondaryColor (Color color)
 
HairShaderData UseSecondaryColor (Vector3 color)
 
HairShaderData UseSaturation (float saturation)
 
HairShaderData UseTargetPosition (Vector2 position)
 

Public Attributes

EffectPass _effectPass
 

Protected Attributes

Vector3 _uColor
 
Vector3 _uSecondaryColor
 
float _uSaturation
 
float _uOpacity
 
Asset< Texture2D_uImage
 
bool _shaderDisabled
 
string _passName
 

Properties

bool ShaderDisabled [get, set]
 
Effect Shader [get, set]
 

Private Attributes

LegacyHairShaderData.ColorProcessingMethod _colorProcessor
 
Vector2 _uTargetPosition
 
readonly Ref< Effect_shader
 

Detailed Description

Definition at line 12 of file LegacyHairShaderData.cs.


The documentation for this class was generated from the following file: