Vixen
02b45cc4
csharp
public sealed class UnlitMasterNode

A colour written straight out. No lighting.

No guide page documents this yet — the page shows what the code says about itself.

As a graph node

Create menu
Master/Unlit

Remarks

The master every other one is a variation of, and the one that proves the pipeline: a graph with this node compiles to a shader that does exactly what the graph says and nothing the master added.

Fields and properties (4)

  • public Float3 Colour

    The colour.

  • public Scalar Alpha

    How opaque it is.

  • protected internal override string Result

    The expression the pixel stage returns.

  • 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