Vixen
dd8b0a81
csharp
public sealed class CheckerNode

A checkerboard.

Read the guide page for this →

As a graph node

Create menu
Procedural/Checker

Remarks

⚠ The first thing anybody reaches for to find out whether their UVs are what they think. It is in the library for that reason and is worth a node for the same one — a graph author debugging a coordinate should not have to write a floor and a mod.

Fields and properties (4)

  • public Float2 Uv

    Where to sample. Defaults to the mesh's own coordinate.

  • public Float2 Scale

    How many squares across and down.

  • public Scalar Out

    Nought or one.

  • public static NodeTypeDefinition Definition

    What this node type is, for the registry. Generated.

Methods (2)

  • protected internal override void Emit(RavenEmitter emitter)

    Writes whatever this node contributes.

  • public override void Bind(NodeBinding binding)

    Fills the port fields from what the compiler resolved. Generated.

Used by (1)

  • NodeTypesVixen.Editor.ShaderGraph