Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | Static Public Attributes | List of all members
TMPro.ShaderUtilities Class Reference

Static Public Member Functions

static Vector4 GetFontExtent (Material material)
 
static float GetPadding (Material material, bool enableExtraPadding, bool isBold)
 
static float GetPadding (Material[] materials, bool enableExtraPadding, bool isBold)
 
static void GetShaderPropertyIDs ()
 
static bool IsMaskingEnabled (Material material)
 
static void UpdateShaderRatios (Material mat)
 

Static Public Attributes

static int ID_BevelAmount
 
static int ID_ClipRect
 
static int ID_EnvMap
 
static int ID_EnvMatrix
 
static int ID_EnvMatrixRotation
 
static int ID_FaceColor
 
static int ID_FaceDilate
 
static int ID_FaceTex
 
static int ID_GlowColor
 
static int ID_GlowOffset
 
static int ID_GlowOuter
 
static int ID_GlowPower
 
static int ID_GradientScale
 
static int ID_LightAngle
 
static int ID_MainTex
 
static int ID_MaskCoord
 
static int ID_MaskSoftnessX
 
static int ID_MaskSoftnessY
 
static int ID_OutlineColor
 
static int ID_OutlineSoftness
 
static int ID_OutlineTex
 
static int ID_OutlineWidth
 
static int ID_Padding
 
static int ID_PerspectiveFilter
 
static int ID_ScaleRatio_A
 
static int ID_ScaleRatio_B
 
static int ID_ScaleRatio_C
 
static int ID_ScaleX
 
static int ID_ScaleY
 
static int ID_ShaderFlags
 
static int ID_Shininess
 
static int ID_StencilComp
 
static int ID_StencilID
 
static int ID_StencilOp
 
static int ID_StencilReadMask
 
static int ID_StencilWriteMask
 
static int ID_TextureHeight
 
static int ID_TextureWidth
 
static int ID_UnderlayColor
 
static int ID_UnderlayDilate
 
static int ID_UnderlayOffsetX
 
static int ID_UnderlayOffsetY
 
static int ID_UnderlaySoftness
 
static int ID_UseClipRect
 
static int ID_VertexOffsetX
 
static int ID_VertexOffsetY
 
static int ID_WeightBold
 
static int ID_WeightNormal
 
static bool isInitialized = false
 
static string Keyword_Bevel = "BEVEL_ON"
 
static string Keyword_Glow = "GLOW_ON"
 
static string Keyword_MASK_HARD = "MASK_HARD"
 
static string Keyword_MASK_SOFT = "MASK_SOFT"
 
static string Keyword_MASK_TEX = "MASK_TEX"
 
static string Keyword_Outline = "OUTLINE_ON"
 
static string Keyword_Ratios = "RATIOS_OFF"
 
static string Keyword_Underlay = "UNDERLAY_ON"
 
static string ShaderTag_CullMode = "_CullMode"
 
static string ShaderTag_ZTestMode = "unity_GUIZTestMode"
 

Member Function Documentation

static Vector4 TMPro.ShaderUtilities.GetFontExtent ( Material  material)
inlinestatic
static float TMPro.ShaderUtilities.GetPadding ( Material  material,
bool  enableExtraPadding,
bool  isBold 
)
inlinestatic
static float TMPro.ShaderUtilities.GetPadding ( Material[]  materials,
bool  enableExtraPadding,
bool  isBold 
)
inlinestatic
static void TMPro.ShaderUtilities.GetShaderPropertyIDs ( )
inlinestatic

static bool TMPro.ShaderUtilities.IsMaskingEnabled ( Material  material)
inlinestatic
static void TMPro.ShaderUtilities.UpdateShaderRatios ( Material  mat)
inlinestatic

Member Data Documentation

int TMPro.ShaderUtilities.ID_BevelAmount
static
int TMPro.ShaderUtilities.ID_ClipRect
static
int TMPro.ShaderUtilities.ID_EnvMap
static
int TMPro.ShaderUtilities.ID_EnvMatrix
static
int TMPro.ShaderUtilities.ID_EnvMatrixRotation
static
int TMPro.ShaderUtilities.ID_FaceColor
static
int TMPro.ShaderUtilities.ID_FaceDilate
static
int TMPro.ShaderUtilities.ID_FaceTex
static
int TMPro.ShaderUtilities.ID_GlowColor
static
int TMPro.ShaderUtilities.ID_GlowOffset
static
int TMPro.ShaderUtilities.ID_GlowOuter
static
int TMPro.ShaderUtilities.ID_GlowPower
static
int TMPro.ShaderUtilities.ID_GradientScale
static
int TMPro.ShaderUtilities.ID_LightAngle
static
int TMPro.ShaderUtilities.ID_MainTex
static
int TMPro.ShaderUtilities.ID_MaskCoord
static
int TMPro.ShaderUtilities.ID_MaskSoftnessX
static
int TMPro.ShaderUtilities.ID_MaskSoftnessY
static
int TMPro.ShaderUtilities.ID_OutlineColor
static
int TMPro.ShaderUtilities.ID_OutlineSoftness
static
int TMPro.ShaderUtilities.ID_OutlineTex
static
int TMPro.ShaderUtilities.ID_OutlineWidth
static
int TMPro.ShaderUtilities.ID_Padding
static
int TMPro.ShaderUtilities.ID_PerspectiveFilter
static
int TMPro.ShaderUtilities.ID_ScaleRatio_A
static
int TMPro.ShaderUtilities.ID_ScaleRatio_B
static
int TMPro.ShaderUtilities.ID_ScaleRatio_C
static
int TMPro.ShaderUtilities.ID_ScaleX
static
int TMPro.ShaderUtilities.ID_ScaleY
static
int TMPro.ShaderUtilities.ID_ShaderFlags
static
int TMPro.ShaderUtilities.ID_Shininess
static
int TMPro.ShaderUtilities.ID_StencilComp
static
int TMPro.ShaderUtilities.ID_StencilID
static
int TMPro.ShaderUtilities.ID_StencilOp
static
int TMPro.ShaderUtilities.ID_StencilReadMask
static
int TMPro.ShaderUtilities.ID_StencilWriteMask
static
int TMPro.ShaderUtilities.ID_TextureHeight
static
int TMPro.ShaderUtilities.ID_TextureWidth
static
int TMPro.ShaderUtilities.ID_UnderlayColor
static
int TMPro.ShaderUtilities.ID_UnderlayDilate
static
int TMPro.ShaderUtilities.ID_UnderlayOffsetX
static
int TMPro.ShaderUtilities.ID_UnderlayOffsetY
static
int TMPro.ShaderUtilities.ID_UnderlaySoftness
static
int TMPro.ShaderUtilities.ID_UseClipRect
static
int TMPro.ShaderUtilities.ID_VertexOffsetX
static
int TMPro.ShaderUtilities.ID_VertexOffsetY
static
int TMPro.ShaderUtilities.ID_WeightBold
static
int TMPro.ShaderUtilities.ID_WeightNormal
static
bool TMPro.ShaderUtilities.isInitialized = false
static
string TMPro.ShaderUtilities.Keyword_Bevel = "BEVEL_ON"
static
string TMPro.ShaderUtilities.Keyword_Glow = "GLOW_ON"
static
string TMPro.ShaderUtilities.Keyword_MASK_HARD = "MASK_HARD"
static
string TMPro.ShaderUtilities.Keyword_MASK_SOFT = "MASK_SOFT"
static
string TMPro.ShaderUtilities.Keyword_MASK_TEX = "MASK_TEX"
static
string TMPro.ShaderUtilities.Keyword_Outline = "OUTLINE_ON"
static
string TMPro.ShaderUtilities.Keyword_Ratios = "RATIOS_OFF"
static
string TMPro.ShaderUtilities.Keyword_Underlay = "UNDERLAY_ON"
static
string TMPro.ShaderUtilities.ShaderTag_CullMode = "_CullMode"
static
string TMPro.ShaderUtilities.ShaderTag_ZTestMode = "unity_GUIZTestMode"
static

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