Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
FlourBlock.cs
浏览该文件的文档.
1using Engine;
3
4namespace Game {
5 public class FlourBlock : FlatBlock {
6 public static int Index = 175;
7
8 public override void DrawBlock(PrimitivesRenderer3D primitivesRenderer,
9 int value,
10 Color color,
11 float size,
12 ref Matrix matrix,
13 DrawBlockEnvironmentData environmentData) {
15 primitivesRenderer,
16 value,
17 size,
18 ref matrix,
19 null,
20 color * new Color(248, 255, 232),
21 false,
22 environmentData
23 );
24 }
25 }
26}
Engine.Color Color
static void DrawFlatOrImageExtrusionBlock(PrimitivesRenderer3D primitivesRenderer, int value, float size, ref Matrix matrix, Texture2D texture, Color color, bool isEmissive, DrawBlockEnvironmentData environmentData)
override void DrawBlock(PrimitivesRenderer3D primitivesRenderer, int value, Color color, float size, ref Matrix matrix, DrawBlockEnvironmentData environmentData)