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

Static Public Member Functions

static T CreateAsset< T > (string name)
 Create and return a new asset in a smart location based on the current selection and then select it. More...
 
static void DrawBox (Rect rect, float thickness, Color color)
 
static TMP_FontAsset FindMatchingFontAsset (Material mat)
 
static Material[] FindMaterialReferences (TMP_FontAsset fontAsset)
 
static string GetDecimalCharacterSequence (int[] characterSet)
 Function which returns a string containing a sequence of Decimal character ranges. More...
 
static int GetHorizontalAlignmentGridValue (int value)
 Function to return the horizontal alignment grid value. More...
 
static string GetUnicodeCharacterSequence (int[] characterSet)
 Function which returns a string containing a sequence of Unicode (Hex) character ranges. More...
 
static int GetVerticalAlignmentGridValue (int value)
 Function to return the vertical alignment grid value. More...
 
static void RepaintAll ()
 

Properties

static string packageFullPath [get]
 Returns the fully qualified path of the package. More...
 
static string packageRelativePath [get]
 Returns the relative path of the package. More...
 

Member Function Documentation

static T TMPro.EditorUtilities.TMP_EditorUtility.CreateAsset< T > ( string  name)
inlinestatic

Create and return a new asset in a smart location based on the current selection and then select it.

Parameters
nameName of the new asset. Do not include the .asset extension.
Returns
The new asset.
Type Constraints
T :ScriptableObject 
static void TMPro.EditorUtilities.TMP_EditorUtility.DrawBox ( Rect  rect,
float  thickness,
Color  color 
)
inlinestatic

Parameters
rect
thickness
color
static TMP_FontAsset TMPro.EditorUtilities.TMP_EditorUtility.FindMatchingFontAsset ( Material  mat)
inlinestatic
static Material [] TMPro.EditorUtilities.TMP_EditorUtility.FindMaterialReferences ( TMP_FontAsset  fontAsset)
inlinestatic
static string TMPro.EditorUtilities.TMP_EditorUtility.GetDecimalCharacterSequence ( int[]  characterSet)
inlinestatic

Function which returns a string containing a sequence of Decimal character ranges.

Parameters
characterSet
Returns
static int TMPro.EditorUtilities.TMP_EditorUtility.GetHorizontalAlignmentGridValue ( int  value)
inlinestatic

Function to return the horizontal alignment grid value.

Parameters
value
Returns
static string TMPro.EditorUtilities.TMP_EditorUtility.GetUnicodeCharacterSequence ( int[]  characterSet)
inlinestatic

Function which returns a string containing a sequence of Unicode (Hex) character ranges.

Parameters
characterSet
Returns
static int TMPro.EditorUtilities.TMP_EditorUtility.GetVerticalAlignmentGridValue ( int  value)
inlinestatic

Function to return the vertical alignment grid value.

Parameters
value
Returns
static void TMPro.EditorUtilities.TMP_EditorUtility.RepaintAll ( )
inlinestatic

Property Documentation

string TMPro.EditorUtilities.TMP_EditorUtility.packageFullPath
staticget

Returns the fully qualified path of the package.

string TMPro.EditorUtilities.TMP_EditorUtility.packageRelativePath
staticget

Returns the relative path of the package.


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