Vixen
dd8b0a81
csharp
public sealed class VortexNode

Velocity turned about an axis, which is what makes a whirl rather than a pile.

Read the guide page for this →

As a graph node

Create menu
Vfx/Update/Vortex

Remarks

AttractNode's sibling and its opposite failure. A pull towards a point ends with every particle at the point; a turn about an axis never converges, which is what a tornado, a whirlpool or a portal wants. The opcode has shipped since the field set was written and had no node, so the only way to reach it was to build the graph in code.

Fields and properties (5)

  • public Float3 Centre

    A point the axis passes through.

  • public Float3 Axis

    Which way the axis points.

  • public Scalar Strength

    How hard the turn is. Negative turns the other way.

  • public Scalar Radius

    How far it reaches. Zero reaches everywhere.

  • public static NodeTypeDefinition Definition

    What this node type is, for the registry. Generated.

Methods (2)

  • protected internal override void Contribute(VfxGraphBuilder builder)

    Adds 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.VfxGraph