public override string GetDisplayName(SubsystemTerrain subsystemTerrain, int value) { return(SubsystemPalette.GetName(subsystemTerrain, Utils.GetColor(value), DefaultDisplayName)); }
public override void DrawBlock(PrimitivesRenderer3D primitivesRenderer, int value, Color color, float size, ref Matrix matrix, DrawBlockEnvironmentData environmentData) { BlocksManager.DrawMeshBlock(primitivesRenderer, m_standaloneBlockMesh, color * SubsystemPalette.GetColor(environmentData, Utils.GetColor(value)), 2f * size, ref matrix, environmentData); }
public override string GetCategory(int value) { return(Utils.GetColor(value) != 0 ? "Painted" : base.GetCategory(value)); }