Vixen
dd8b0a81
csharp
public sealed class VelocityInConeNode

Particles start moving somewhere inside a cone.

Read the guide page for this →

As a graph node

Create menu
Vfx/Initialize/Velocity in Cone

Remarks

⚠ The jet, the fountain and the muzzle flash — and the opcode for it had shipped in both backends with nothing able to author it. Vfx/Initialize/Random Velocity is this with a half-angle of π, which is a sphere, so every directional emitter in the library was a sphere somebody had aimed with a Gravity block.

Fields and properties (5)

  • public Float3 Axis

    Which way the cone points. Normalized by the simulation, so any length will do.

  • public Scalar Angle

    Half the cone's opening, in radians. π is a sphere.

  • public Scalar Minimum

    The slowest.

  • public Scalar Maximum

    The fastest.

  • 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