csharp
public sealed class FlipbookNodeOne cell of a sprite sheet.
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 UvThe coordinate. Defaults to the mesh's own.
public Float2 GridHow many cells across and down.
public Scalar FrameWhich cell, counted along the top row first. Rounded down.
public Float2 OutThe cell's coordinate.
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