Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Engine.Graphics.FontBatch3D
类 Engine.Graphics.FontBatch3D 继承关系图:
Engine.Graphics.FontBatch3D 的协作图:

Public 成员函数

 FontBatch3D ()
void QueueText (string text, Vector3 position, Vector3 right, Vector3 down, Color color, TextAnchor anchor=TextAnchor.Default)
void QueueText (string text, Vector3 position, Vector3 right, Vector3 down, Color color, TextAnchor anchor, Vector2 spacing)
Public 成员函数 继承自 Engine.Graphics.BaseFontBatch
override bool IsEmpty ()
override void Clear ()
void Flush (Matrix matrix, bool clearAfterFlush=true)
override void Flush (Matrix matrix, Vector4 color, bool clearAfterFlush=true)
void FlushWithDeviceState (BitmapFont font, SamplerState samplerState, Matrix matrix, Vector4 color, bool clearAfterFlush=true)
void FlushWithDeviceState (Shader shader, bool clearAfterFlush=true)
void FlushWithCurrentStateAndShader (Shader shader, bool clearAfterFlush=true)
void TransformTriangles (Matrix matrix, int start=0, int end=-1)
void TransformTrianglesColors (Color color, int start=0, int end=-1)
Vector2 CalculateTextOffset (string text, int start, int count, TextAnchor anchor, Vector2 scale, Vector2 spacing)
Public 成员函数 继承自 Engine.Graphics.BaseBatch
bool IsEmpty ()
void Clear ()
void Flush (Matrix matrix, Vector4 color, bool clearAfterFlush=true)

额外继承的成员函数

Public 属性 继承自 Engine.Graphics.BaseFontBatch
readonly DynamicArray< VertexPositionColorTextureTriangleVertices = []
readonly DynamicArray< int > TriangleIndices = []
静态 Public 属性 继承自 Engine.Graphics.BaseFontBatch
static UnlitShader m_shader = new(true, true, false, false)
属性 继承自 Engine.Graphics.BaseFontBatch
BitmapFont Font [get, set]
SamplerState SamplerState [get, set]
属性 继承自 Engine.Graphics.BaseBatch
int Layer [get, set]
DepthStencilState DepthStencilState [get, set]
RasterizerState RasterizerState [get, set]
BlendState BlendState [get, set]

详细描述

在文件 FontBatch3D.cs4 行定义.

构造及析构函数说明

◆ FontBatch3D()

Engine.Graphics.FontBatch3D.FontBatch3D ( )

在文件 FontBatch3D.cs5 行定义.

成员函数说明

◆ QueueText() [1/2]

void Engine.Graphics.FontBatch3D.QueueText ( string text,
Vector3 position,
Vector3 right,
Vector3 down,
Color color,
TextAnchor anchor,
Vector2 spacing )

在文件 FontBatch3D.cs25 行定义.

函数调用图:

◆ QueueText() [2/2]

void Engine.Graphics.FontBatch3D.QueueText ( string text,
Vector3 position,
Vector3 right,
Vector3 down,
Color color,
TextAnchor anchor = TextAnchor::Default )

在文件 FontBatch3D.cs13 行定义.

函数调用图:
这是这个函数的调用关系图:

该类的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Engine/Engine.Graphics/FontBatch3D.cs