csharp
public sealed class SpriteMasterNodeAn 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 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