Vixen
02b45cc4
csharp
public sealed class SpriteMasterNode

An unlit colour, premultiplied, for sprites and UI.

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

As a graph node

Create menu
Master/Sprite

Remarks

Premultiplied because that is the only form that survives a filtered downsample and a nested transparency group without dark fringes — the same convention UiQuad.rvn keeps, and the reason it is a master rather than a node an author remembers to add.

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