Vixen
02b45cc4
csharp
public readonly record struct VfxRendererRow

How an effect is drawn, as a build writes it.

Read the guide page for this →

Fields and properties (8)

  • public VfxRendererKind Kind

    Billboard, mesh, ribbon or light.

  • public VfxBillboardAlignment Alignment

    Which way a billboard faces.

  • public VfxSortMode Sort

    Whether the particles are sorted before they are drawn.

  • public Vector3 Axis

    The axis a fixed alignment locks to.

  • public float Stretch

    How much a metre per second lengthens a streak.

  • public int RibbonSlot

    Which custom attribute holds a ribbon's strip identifier.

  • public float Intensity

    How bright a particle at full alpha is, for a light renderer.

  • public float Range

    How far a particle of unit size reaches, for a light renderer.

Methods (3)

  • public VfxRendererRow()

    A camera-facing billboard, for the serializer.

  • public VfxRenderer ToRenderer()

    This row as the runtime renderer.

  • public static VfxRendererRow From(in VfxRenderer renderer)

    One runtime renderer as a row.

Used by (4)

  • TypeRegistrationVixen.Rendering
  • VfxEffectContentVixen.Rendering
  • Vixen_Rendering_Vfx_VfxEffectContentSerializerVixen.Rendering
  • Vixen_Rendering_Vfx_VfxRendererRowSerializerVixen.Rendering