|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|


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< VertexPositionColorTexture > | TriangleVertices = [] |
| 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.cs 第 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.cs 第 68 行定义.
| void Engine.Graphics.TexturedBatch3D.QueueTriangle | ( | Vector3 | p1, |
| Vector3 | p2, | ||
| Vector3 | p3, | ||
| Vector2 | texCoord1, | ||
| Vector2 | texCoord2, | ||
| Vector2 | texCoord3, | ||
| Color | color ) |
在文件 TexturedBatch3D.cs 第 3 行定义.
| void Engine.Graphics.TexturedBatch3D.QueueTriangle | ( | Vector3 | p1, |
| Vector3 | p2, | ||
| Vector3 | p3, | ||
| Vector2 | texCoord1, | ||
| Vector2 | texCoord2, | ||
| Vector2 | texCoord3, | ||
| Color | color1, | ||
| Color | color2, | ||
| Color | color3 ) |
在文件 TexturedBatch3D.cs 第 22 行定义.