csharp
public sealed class UnlitMasterNodeA 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 ColourThe colour.
public Scalar AlphaHow opaque it is.
protected internal override string ResultThe expression the pixel stage returns.
public static NodeTypeDefinition DefinitionWhat 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