Vixen
dd8b0a81
csharp
public sealed class FlipbookNode

One cell of a sprite sheet.

Read the guide page for this →

As a graph node

Create menu
Vector/Flipbook

Remarks

⚠ The row is counted from the top, matching the engine's top-left UV origin. The library function does the flip and says so, which is the part that is easy to get wrong and invisible until the animation plays backwards vertically.

Fields and properties (5)

  • public Float2 Uv

    The coordinate. Defaults to the mesh's own.

  • public Float2 Grid

    How many cells across and down.

  • public Scalar Frame

    Which cell, counted along the top row first. Rounded down.

  • public Float2 Out

    The cell's coordinate.

  • 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