Skip to content

VoxelReadyChange

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

public sealed record VoxelReadyChange

One variant that making a book voxel-ready would change, and by how much.

Constructors

VoxelReadyChange(string, string, string, string, string, int, int)

public VoxelReadyChange(string RecipeId, string IngredientId, string IngredientName, string VariantId, string VariantName, int ToSolid, int ToClear);

Parameters

  • RecipeId (string) - The recipe holding the layer.
  • IngredientId (string) - The layer's id.
  • IngredientName (string) - The layer's display name.
  • VariantId (string) - The variant's id.
  • VariantName (string) - The variant's display name.
  • ToSolid (int) - Partial pixels that become fully opaque (alpha at or above the threshold).
  • ToClear (int) - Partial pixels that become fully clear.

Properties

IngredientId

public string IngredientId { get; init; }

The layer's id.

IngredientName

public string IngredientName { get; init; }

The layer's display name.

RecipeId

public string RecipeId { get; init; }

The recipe holding the layer.

ToClear

public int ToClear { get; init; }

Partial pixels that become fully clear.

ToSolid

public int ToSolid { get; init; }

Partial pixels that become fully opaque (alpha at or above the threshold).

VariantId

public string VariantId { get; init; }

The variant's id.

VariantName

public string VariantName { get; init; }

The variant's display name.