Vixen
02b45cc4
csharp
public sealed class AttractNode

A pull towards a point, or a push from it.

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

As a graph node

Create menu
Vfx/Update/Attract

Fields and properties (4)

  • public Float3 Centre

    The point.

  • public Scalar Strength

    How strongly, at the centre. Negative repels.

  • 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