Skip to content

VoxelReadyResult

Namespace Nfty.Core.Editing in assembly Nfty.Core.

public sealed class VoxelReadyResult : IDisposable

What VoxelReady.Apply() did: the snapped book plus enough to undo it. Owns the pre-snap images it holds; dispose it when the undo is no longer wanted.

Properties

Book

public LoadedCookBook Book { get; }

The snapped graph. Not owned by this result.

Changes

public IReadOnlyList<VoxelReadyChange> Changes { get; }

Every variant changed, ordered by recipe id, ingredient id, variant id (ordinal).

Methods

Dispose()

public void Dispose();

Frees the pre-snap images.