Vixen
02b45cc4
csharp
public sealed class VfxGraphBuilder

What a VFX node contributes to the graph being built.

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

Remarks

Blocks, not expressions. A shader node emits a line of source; a VFX node adds an operation to one of three lists, or names the renderer. That is the difference between the two graphs, and it is the whole difference: everything else — the ports, the typing, the ordering, the diagnostics — is the same framework.

Parameters are numbers, not text. A VfxOperation holds two Vector4s, so a node reads its ports through Value rather than through the expression a shader node would interpolate. That is why the framework hands over both forms.

Fields and properties (6)

  • public List<VfxSpawner> Spawners

    The spawners, in the order the graph produced them.

  • public List<VfxOperation> Initializers

    The initializers.

  • public List<VfxOperation> Updaters

    The updaters.

  • public VfxRenderer? Renderer

    How the particles are drawn, when a node has said.

  • public int Capacity

    The most particles that may be alive at once.

  • public List<VfxCustomAttribute> Customs

    The custom attributes the graph declares.

Used by (22)

  • AttractNodeVixen.Editor.VfxGraph
  • BillboardOutputNodeVixen.Editor.VfxGraph
  • BurstNodeVixen.Editor.VfxGraph
  • CollidePlaneNodeVixen.Editor.VfxGraph
  • ColourNodeVixen.Editor.VfxGraph
  • ColourOverLifeNodeVixen.Editor.VfxGraph
  • DragNodeVixen.Editor.VfxGraph
  • EffectNodeVixen.Editor.VfxGraph
  • GravityNodeVixen.Editor.VfxGraph
  • IntegrateNodeVixen.Editor.VfxGraph
  • LifetimeNodeVixen.Editor.VfxGraph
  • LightOutputNodeVixen.Editor.VfxGraph
  • PositionInBoxNodeVixen.Editor.VfxGraph
  • PositionInSphereNodeVixen.Editor.VfxGraph
  • RandomVelocityNodeVixen.Editor.VfxGraph
  • RateNodeVixen.Editor.VfxGraph
  • SetVelocityNodeVixen.Editor.VfxGraph
  • SizeNodeVixen.Editor.VfxGraph
  • SizeOverLifeNodeVixen.Editor.VfxGraph
  • TurbulenceNodeVixen.Editor.VfxGraph
  • VfxGraphCompilerVixen.Editor.VfxGraph
  • VfxNodeVixen.Editor.VfxGraph