Skip to content

DepthPixel

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

public readonly struct DepthPixel : IEquatable<DepthPixel>

One pixel's depth: how far it stands in front of, and behind, the paper plane.

Constructors

DepthPixel(byte, byte)

public DepthPixel(byte Front, byte Back);

Parameters

  • Front (byte) - Depth toward the viewer, 0..255.
  • Back (byte) - Depth away from the viewer, 0..255.

Properties

Back

public byte Back { get; init; }

Depth away from the viewer, 0..255.

Front

public byte Front { get; init; }

Depth toward the viewer, 0..255.