Skip to content

ReadModel

Namespace Nfty.Model in assembly Nfty.Model.

public sealed record ReadModel

A model read back from a file: the solid and the PNG its UVs address.

Constructors

ReadModel(Mesh, byte[])

public ReadModel(Mesh Mesh, byte[] TexturePng);

Parameters

  • Mesh (Mesh) - The solid.
  • TexturePng (byte[]) - The texture's PNG bytes exactly as the file held them.

Properties

Mesh

public Mesh Mesh { get; init; }

The solid.

TexturePng

public byte[] TexturePng { get; init; }

The texture's PNG bytes exactly as the file held them.