Table of Contents

Class ModelCubeUtilExt

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll
public class ModelCubeUtilExt : CubeMeshUtil
Inheritance
ModelCubeUtilExt
Inherited Members

Methods

AddFace(MeshData, BlockFacing, Vec3f, Vec3f, Vec2f, Vec2f, int, int, EnumShadeMode, int[], float, int, byte, byte, short)

public static void AddFace(MeshData modeldata, BlockFacing face, Vec3f centerXyz, Vec3f sizeXyz, Vec2f originUv, Vec2f sizeUv, int textureId, int color, ModelCubeUtilExt.EnumShadeMode shade, int[] vertexFlags, float brightness = 1, int uvRotation = 0, byte climateColorMapId = 0, byte seasonColorMapId = 0, short renderPass = -1)

Parameters

modeldata MeshData
face BlockFacing
centerXyz Vec3f
sizeXyz Vec3f
originUv Vec2f
sizeUv Vec2f
textureId int
color int
shade ModelCubeUtilExt.EnumShadeMode
vertexFlags int[]
brightness float
uvRotation int
climateColorMapId byte
seasonColorMapId byte
renderPass short

AddFaceSkipTex(MeshData, BlockFacing, Vec3f, Vec3f, int, float)

public static void AddFaceSkipTex(MeshData modeldata, BlockFacing face, Vec3f centerXyz, Vec3f sizeXyz, int color, float brightness = 1)

Parameters

modeldata MeshData
face BlockFacing
centerXyz Vec3f
sizeXyz Vec3f
color int
brightness float