|
| | BlockGeometryGenerator (Terrain terrain, SubsystemTerrain subsystemTerrain, SubsystemElectricity subsystemElectricity, SubsystemFurnitureBlockBehavior subsystemFurnitureBlockBehavior, SubsystemMetersBlockBehavior subsystemMetersBlockBehavior, SubsystemPalette subsystemPalette) |
| |
| void | ResetCache () |
| |
| virtual void | GenerateCrossfaceVertices (Block block, int value, int x, int y, int z, Color color, int textureSlot, TerrainGeometrySubset subset) |
| |
| virtual void | GenerateCubeVertices (Block block, int value, int x, int y, int z, Color color, TerrainGeometrySubset[] subsetsByFace) |
| |
| virtual void | GenerateCubeVertices (Block block, int value, int x, int y, int z, float height11, float height21, float height22, float height12, Color sideColor, Color topColor11, Color topColor21, Color topColor22, Color topColor12, int overrideTopTextureSlot, TerrainGeometrySubset[] subsetsByFace) |
| |
| virtual void | GenerateCubeVertices (Block block, int value, int x, int y, int z, int rotationX, int rotationY, int rotationZ, Color color, TerrainGeometrySubset[] subsetsByFace) |
| |
| void | GenerateFlatVertices (Block block, int value, int x, int y, int z, int rotation, Color color, TerrainGeometrySubset[] subsetsByFace) |
| |
| virtual void | GenerateMeshVertices (Block block, int x, int y, int z, BlockMesh blockMesh, Color color, Matrix? matrix, TerrainGeometrySubset subset) |
| |
| virtual void | GenerateShadedMeshVertices (Block block, int x, int y, int z, BlockMesh blockMesh, Color color, Matrix? matrix, int[] facesMap, TerrainGeometrySubset subset) |
| |
| virtual void | GenerateWireVertices (int value, int x, int y, int z, int mountingFace, float centerBoxSize, Vector2 centerOffset, TerrainGeometrySubset subset) |
| |
| virtual int | CalculateVertexLightFace0 (int x, int y, int z) |
| |
| virtual int | CalculateVertexLightFace1 (int x, int y, int z) |
| |
| virtual int | CalculateVertexLightFace2 (int x, int y, int z) |
| |
| virtual int | CalculateVertexLightFace3 (int x, int y, int z) |
| |
| virtual int | CalculateVertexLightFace4 (int x, int y, int z) |
| |
| virtual int | CalculateVertexLightFace5 (int x, int y, int z) |
| |
| virtual void | SetupCubeVertexFace0 (int x, int y, int z, float height, int corner, int textureSlot, int textureSlotCount, Color color, ref TerrainVertex vertex) |
| |
| virtual void | SetupCubeVertexFace1 (int x, int y, int z, float height, int corner, int textureSlot, int textureSlotCount, Color color, ref TerrainVertex vertex) |
| |
| virtual void | SetupCubeVertexFace2 (int x, int y, int z, float height, int corner, int textureSlot, int textureSlotCount, Color color, ref TerrainVertex vertex) |
| |
| virtual void | SetupCubeVertexFace3 (int x, int y, int z, float height, int corner, int textureSlot, int textureSlotCount, Color color, ref TerrainVertex vertex) |
| |
| virtual void | SetupCubeVertexFace4 (int x, int y, int z, float height, int corner, int textureSlot, int textureSlotCount, Color color, ref TerrainVertex vertex) |
| |
| virtual void | SetupCubeVertexFace5 (int x, int y, int z, float height, int corner, int textureSlot, int textureSlotCount, Color color, ref TerrainVertex vertex) |
| |
| virtual void | CalculateCornerLights (int x, int y, int z) |
| |
| virtual float | InterpolateCornerLights (int face, Vector3 position) |
| |
|
| static void | SetupCornerVertex (float x, float y, float z, Color color, int light, int face, int textureSlot, int textureSlotCount, int corner, ref TerrainVertex vertex) |
| |
| static void | SetupLitCornerVertex (float x, float y, float z, Color color, int textureSlot, int corner, ref TerrainVertex vertex) |
| |
| static void | SetupLitCornerVertex (float x, float y, float z, Color color, int textureSlot, int textureSlotCount, int corner, ref TerrainVertex vertex) |
| |
| static void | SetupVertex (float x, float y, float z, Color color, float tx, float ty, ref TerrainVertex vertex) |
| |
| static void | CalculateCubeVertexLight (int value, ref int light, ref int shadow) |
| |
| static int | CombineLightAndShadow (int light, int shadow) |
| |
| static Vector3 | GetRandomWireOffset (Vector3 position, Vector3 normal) |
| |