Пример #1
0
 public override string GetDisplayName(SubsystemTerrain subsystemTerrain, int value)
 {
     return(SubsystemPalette.GetName(subsystemTerrain, Utils.GetColor(value), DefaultDisplayName));
 }
Пример #2
0
 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);
 }
Пример #3
0
 public override string GetCategory(int value)
 {
     return(Utils.GetColor(value) != 0 ? "Painted" : base.GetCategory(value));
 }