14 public float Depth {
get;
set; }
51 public float Scale {
get;
set; }
66 ? DrawBlockEnvironmentData.SubsystemTerrain.SubsystemAnimatedTextures.AnimatedBlocksTexture
77 Matrix matrix = CustomViewMatrix.HasValue
static int Min(int x1, int x2)
virtual Vector3 GetIconBlockOffset(int value, DrawBlockEnvironmentData environmentData)
virtual float GetIconViewScale(int value, DrawBlockEnvironmentData environmentData)
void DrawBlock(PrimitivesRenderer3D primitivesRenderer, int value, Color color, float size, ref Matrix matrix, DrawBlockEnvironmentData environmentData)
绘制方块_用于绘制方块物品形态
virtual Vector3 GetIconViewOffset(int value, DrawBlockEnvironmentData environmentData)
static Texture2D DefaultBlocksTexture
Matrix? ViewProjectionMatrix
DrawBlockMode DrawBlockMode
SubsystemTerrain SubsystemTerrain
static Matrix CreateScaleTranslation(float sx, float sy, float tx, float ty)
static int ExtractContents(int value)
static int ReplaceData(int value, int data)
static int ExtractLight(int value)
static int ReplaceLight(int value, int light)
static int ReplaceContents(int value, int contents)
方块值的最低10位,替换为目标Content
static int ExtractData(int value)
readonly PrimitivesRenderer3D PrimitivesRenderer3D
static Matrix CreateTranslation(float x, float y, float z)
static readonly Matrix Identity
static Matrix CreateLookAt(Vector3 position, Vector3 target, Vector3 up)
static Matrix CreateOrthographic(float width, float height, float nearPlane, float farPlane)
static readonly Vector3 UnitY