Vixen
dd8b0a81
csharp
public sealed class CollideSphereNode

A ball particles bounce off, seen from outside.

Read the guide page for this →

As a graph node

Create menu
Vfx/Update/Collide Sphere

Remarks

⚠ Solid and outward-facing. Keeping particles inside a sphere is a different operation rather than a flag on this one, and the opcode set does not have it — see CollideSphere.

Fields and properties (5)

  • public Float3 Centre

    Where the sphere is.

  • public Scalar Radius

    How big it is.

  • public Scalar Bounce

    How much of the approach comes back.

  • public Scalar Friction

    How much of the slide is lost.

  • 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