Class ModelCubeUtilExt
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
public class ModelCubeUtilExt : CubeMeshUtil
- Inheritance
-
ModelCubeUtilExt
- Inherited Members
- Extension Methods
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
MeshDataface
BlockFacingcenterXyz
Vec3fsizeXyz
Vec3foriginUv
Vec2fsizeUv
Vec2ftextureId
intcolor
intshade
ModelCubeUtilExt.EnumShadeModevertexFlags
int[]brightness
floatuvRotation
intclimateColorMapId
byteseasonColorMapId
byterenderPass
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)