C# 클래스 UnityEngine.TextGenerationSettings

파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
alignByGeometry bool
color Color
font Font
fontSize int
fontStyle FontStyle
generateOutOfBounds bool
generationExtents Vector2
horizontalOverflow HorizontalWrapMode
lineSpacing float
pivot Vector2
resizeTextForBestFit bool
resizeTextMaxSize int
resizeTextMinSize int
richText bool
scaleFactor float
textAnchor TextAnchor
updateBounds bool
verticalOverflow VerticalWrapMode

공개 메소드들

메소드 설명
Equals ( TextGenerationSettings other ) : bool

비공개 메소드들

메소드 설명
CompareColors ( Color left, Color right ) : bool
CompareVector2 ( Vector2 left, Vector2 right ) : bool

메소드 상세

Equals() 공개 메소드

public Equals ( TextGenerationSettings other ) : bool
other TextGenerationSettings
리턴 bool

프로퍼티 상세

alignByGeometry 공개적으로 프로퍼티

Use the extents of glyph geometry to perform horizontal alignment rather than glyph metrics.

public bool alignByGeometry
리턴 bool

color 공개적으로 프로퍼티

The base color for the text generation.

public Color color
리턴 Color

font 공개적으로 프로퍼티

Font to use for generation.

public Font,UnityEngine font
리턴 Font

fontSize 공개적으로 프로퍼티

Font size.

public int fontSize
리턴 int

fontStyle 공개적으로 프로퍼티

Font style.

public FontStyle fontStyle
리턴 FontStyle

generateOutOfBounds 공개적으로 프로퍼티

Continue to generate characters even if the text runs out of bounds.

public bool generateOutOfBounds
리턴 bool

generationExtents 공개적으로 프로퍼티

Extents that the generator will attempt to fit the text in.

public Vector2 generationExtents
리턴 Vector2

horizontalOverflow 공개적으로 프로퍼티

What happens to text when it reaches the horizontal generation bounds.

public HorizontalWrapMode horizontalOverflow
리턴 HorizontalWrapMode

lineSpacing 공개적으로 프로퍼티

The line spacing multiplier.

public float lineSpacing
리턴 float

pivot 공개적으로 프로퍼티

Generated vertices are offset by the pivot.

public Vector2 pivot
리턴 Vector2

resizeTextForBestFit 공개적으로 프로퍼티

Should the text be resized to fit the configured bounds?

public bool resizeTextForBestFit
리턴 bool

resizeTextMaxSize 공개적으로 프로퍼티

Maximum size for resized text.

public int resizeTextMaxSize
리턴 int

resizeTextMinSize 공개적으로 프로퍼티

Minimum size for resized text.

public int resizeTextMinSize
리턴 int

richText 공개적으로 프로퍼티

Allow rich text markup in generation.

public bool richText
리턴 bool

scaleFactor 공개적으로 프로퍼티

A scale factor for the text. This is useful if the Text is on a Canvas and the canvas is scaled.

public float scaleFactor
리턴 float

textAnchor 공개적으로 프로퍼티

How is the generated text anchored.

public TextAnchor textAnchor
리턴 TextAnchor

updateBounds 공개적으로 프로퍼티

Should the text generator update the bounds from the generated text.

public bool updateBounds
리턴 bool

verticalOverflow 공개적으로 프로퍼티

What happens to text when it reaches the bottom generation bounds.

public VerticalWrapMode verticalOverflow
리턴 VerticalWrapMode