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

Public 成员函数

void QueueTriangle (Vector3 p1, Vector3 p2, Vector3 p3, Vector2 texCoord1, Vector2 texCoord2, Vector2 texCoord3, Color color)
void QueueTriangle (Vector3 p1, Vector3 p2, Vector3 p3, Vector2 texCoord1, Vector2 texCoord2, Vector2 texCoord3, Color color1, Color color2, Color color3)
void QueueQuad (Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, Vector2 texCoord1, Vector2 texCoord2, Vector2 texCoord3, Vector2 texCoord4, Color color)
void QueueQuad (Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, Vector2 texCoord1, Vector2 texCoord2, Vector2 texCoord3, Vector2 texCoord4, Color color1, Color color2, Color color3, Color color4)
Public 成员函数 继承自 Engine.Graphics.BaseTexturedBatch
override bool IsEmpty ()
override void Clear ()
virtual void Flush (Matrix matrix, bool clearAfterFlush=true)
override void Flush (Matrix matrix, Vector4 color, bool clearAfterFlush=true)
void FlushWithDeviceState (bool useAlphaTest, Texture2D texture, SamplerState samplerState, Matrix matrix, Vector4 color, bool clearAfterFlush=true)
void FlushWithDeviceState (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)
Public 成员函数 继承自 Engine.Graphics.BaseBatch
bool IsEmpty ()
void Clear ()
void Flush (Matrix matrix, Vector4 color, bool clearAfterFlush=true)

额外继承的成员函数

Public 属性 继承自 Engine.Graphics.BaseTexturedBatch
readonly DynamicArray< VertexPositionColorTextureTriangleVertices = []
readonly DynamicArray< int > TriangleIndices = []
静态 Public 属性 继承自 Engine.Graphics.BaseTexturedBatch
static UnlitShader m_shader = new(true, true, false, false)
static UnlitShader m_shaderAlphaTest = new(true, true, false, true)
属性 继承自 Engine.Graphics.BaseTexturedBatch
Texture2D Texture [get, set]
bool UseAlphaTest [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]

详细描述

在文件 TexturedBatch3D.cs2 行定义.

成员函数说明

◆ QueueQuad() [1/2]

void Engine.Graphics.TexturedBatch3D.QueueQuad ( Vector3 p1,
Vector3 p2,
Vector3 p3,
Vector3 p4,
Vector2 texCoord1,
Vector2 texCoord2,
Vector2 texCoord3,
Vector2 texCoord4,
Color color )

在文件 TexturedBatch3D.cs43 行定义.

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

◆ QueueQuad() [2/2]

void Engine.Graphics.TexturedBatch3D.QueueQuad ( Vector3 p1,
Vector3 p2,
Vector3 p3,
Vector3 p4,
Vector2 texCoord1,
Vector2 texCoord2,
Vector2 texCoord3,
Vector2 texCoord4,
Color color1,
Color color2,
Color color3,
Color color4 )

在文件 TexturedBatch3D.cs68 行定义.

◆ QueueTriangle() [1/2]

void Engine.Graphics.TexturedBatch3D.QueueTriangle ( Vector3 p1,
Vector3 p2,
Vector3 p3,
Vector2 texCoord1,
Vector2 texCoord2,
Vector2 texCoord3,
Color color )

在文件 TexturedBatch3D.cs3 行定义.

◆ QueueTriangle() [2/2]

void Engine.Graphics.TexturedBatch3D.QueueTriangle ( Vector3 p1,
Vector3 p2,
Vector3 p3,
Vector2 texCoord1,
Vector2 texCoord2,
Vector2 texCoord3,
Color color1,
Color color2,
Color color3 )

在文件 TexturedBatch3D.cs22 行定义.


该类的文档由以下文件生成: