Toast Engine
Loading...
Searching...
No Matches
editor.Assets.VoxelPaletteFile Class Referencesealed

Mirrors the assets.VoxelPalette TOML shape. More...

Public Member Functions

void Save (string path)
string Serialize ()

Static Public Member Functions

static VoxelPaletteFile FromFile (string path)
static VoxelPaletteFile FromString (string toml)

Static Public Attributes

const int Size = 256
const int SlotCount = 256

Properties

float MaxEmissive = 1f [get, set]
VoxelPaletteEntry[] Entries = CreateEntries() [get]
VoxelMaterialSlot[] Slots = CreateSlots() [get]

Detailed Description

Mirrors the assets.VoxelPalette TOML shape.


The documentation for this class was generated from the following file:
  • editor/Assets/VoxelPaletteFile.cs