C# 클래스 TypogenicText, Storms-Project

상속: MonoBehaviour
파일 보기 프로젝트 열기: patferguson/Storms-Project 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Alignment TTextAlignment
AutoRebuild bool
ColorBottomLeft Color
ColorBottomRight Color
ColorTopLeft Color
ColorTopRight Color
DrawGlyphBoundsGizmos bool
EnableClickSupport bool
FillMode TFillMode
Font TypogenicFont
GenerateNormals bool
Leading float
ParagraphSpacing float
Size float
Stationary bool
Text string
Tracking float
WordWrap float

보호된 프로퍼티들

프로퍼티 타입 설명
m_Colors List
m_GlyphBounds List
m_Mesh Mesh
m_SubmeshTriangles List[]
m_UVs List
m_UVs2 List
m_Vertices List

공개 메소드들

메소드 설명
AddPlaceholderGlyphBounds ( ) : void
BlitQuad ( Rect quad, TGlyph glyph ) : void
ClearGlyphBounds ( ) : void
GetWrappedText ( string text ) : string
LateUpdate ( ) : void
OffsetStringPosition ( List vertexPointers, float offsetX ) : void
OnDisable ( ) : void
OnDrawGizmos ( ) : void
OnEnable ( ) : void
OnMouseUpAsButton ( ) : void
RebuildMesh ( ) : void
RefreshColliders ( ) : void
Reset ( ) : void
Set ( string text = null, float size = null, float leading = null, float tracking = null, float paragraphSpacing = null, TTextAlignment alignement = null, float wordWrap = null ) : void
StoreGlyphBounds ( Bounds b ) : void

비공개 메소드들

메소드 설명
BlitString ( string str, float cursorX, float cursorY, List vertexPointers = null ) : float
GetGlyphIndexAtWorldPoint ( Vector3 point ) : int
GetStringWidth ( string str ) : float
IsTextNullOrEmpty ( ) : bool
TranslateBounds ( Bounds b ) : Bounds

메소드 상세

AddPlaceholderGlyphBounds() 공개 메소드

public AddPlaceholderGlyphBounds ( ) : void
리턴 void

BlitQuad() 공개 메소드

public BlitQuad ( Rect quad, TGlyph glyph ) : void
quad Rect
glyph TGlyph
리턴 void

ClearGlyphBounds() 공개 메소드

public ClearGlyphBounds ( ) : void
리턴 void

GetWrappedText() 공개 메소드

public GetWrappedText ( string text ) : string
text string
리턴 string

LateUpdate() 공개 메소드

public LateUpdate ( ) : void
리턴 void

OffsetStringPosition() 공개 메소드

public OffsetStringPosition ( List vertexPointers, float offsetX ) : void
vertexPointers List
offsetX float
리턴 void

OnDisable() 공개 메소드

public OnDisable ( ) : void
리턴 void

OnDrawGizmos() 공개 메소드

public OnDrawGizmos ( ) : void
리턴 void

OnEnable() 공개 메소드

public OnEnable ( ) : void
리턴 void

OnMouseUpAsButton() 공개 메소드

public OnMouseUpAsButton ( ) : void
리턴 void

RebuildMesh() 공개 메소드

public RebuildMesh ( ) : void
리턴 void

RefreshColliders() 공개 메소드

public RefreshColliders ( ) : void
리턴 void

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Set() 공개 메소드

public Set ( string text = null, float size = null, float leading = null, float tracking = null, float paragraphSpacing = null, TTextAlignment alignement = null, float wordWrap = null ) : void
text string
size float
leading float
tracking float
paragraphSpacing float
alignement TTextAlignment
wordWrap float
리턴 void

StoreGlyphBounds() 공개 메소드

public StoreGlyphBounds ( Bounds b ) : void
b Bounds
리턴 void

프로퍼티 상세

Alignment 공개적으로 프로퍼티

public TTextAlignment Alignment
리턴 TTextAlignment

AutoRebuild 공개적으로 프로퍼티

public bool AutoRebuild
리턴 bool

ColorBottomLeft 공개적으로 프로퍼티

public Color ColorBottomLeft
리턴 Color

ColorBottomRight 공개적으로 프로퍼티

public Color ColorBottomRight
리턴 Color

ColorTopLeft 공개적으로 프로퍼티

public Color ColorTopLeft
리턴 Color

ColorTopRight 공개적으로 프로퍼티

public Color ColorTopRight
리턴 Color

DrawGlyphBoundsGizmos 공개적으로 프로퍼티

public bool DrawGlyphBoundsGizmos
리턴 bool

EnableClickSupport 공개적으로 프로퍼티

public bool EnableClickSupport
리턴 bool

FillMode 공개적으로 프로퍼티

public TFillMode FillMode
리턴 TFillMode

Font 공개적으로 프로퍼티

public TypogenicFont Font
리턴 TypogenicFont

GenerateNormals 공개적으로 프로퍼티

public bool GenerateNormals
리턴 bool

Leading 공개적으로 프로퍼티

public float Leading
리턴 float

ParagraphSpacing 공개적으로 프로퍼티

public float ParagraphSpacing
리턴 float

Size 공개적으로 프로퍼티

public float Size
리턴 float

Stationary 공개적으로 프로퍼티

public bool Stationary
리턴 bool

Text 공개적으로 프로퍼티

public string Text
리턴 string

Tracking 공개적으로 프로퍼티

public float Tracking
리턴 float

WordWrap 공개적으로 프로퍼티

public float WordWrap
리턴 float

m_Colors 보호되어 있는 프로퍼티

protected List m_Colors
리턴 List

m_GlyphBounds 보호되어 있는 프로퍼티

protected List m_GlyphBounds
리턴 List

m_Mesh 보호되어 있는 프로퍼티

protected Mesh m_Mesh
리턴 Mesh

m_SubmeshTriangles 보호되어 있는 프로퍼티

protected List[] m_SubmeshTriangles
리턴 List[]

m_UVs 보호되어 있는 프로퍼티

protected List m_UVs
리턴 List

m_UVs2 보호되어 있는 프로퍼티

protected List m_UVs2
리턴 List

m_Vertices 보호되어 있는 프로퍼티

protected List m_Vertices
리턴 List