Vixen
02b45cc4
csharp
public readonly record struct VfxCamera

Where the camera is and how it is turned, as the expansion needs it.

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

Remarks

Three vectors rather than a view matrix, because that is all the expansion uses and taking the matrix would mean this module had an opinion about which convention it was in.

Fields and properties (3)

  • public Vector3 Position

    Where the camera is, for depth sorting.

  • public Vector3 Right

    Its right vector, normalised.

  • public Vector3 Up

    Its up vector, normalised.

Methods (2)

  • public VfxCamera(Vector3 Position, Vector3 Right, Vector3 Up)

    Where the camera is and how it is turned, as the expansion needs it.

  • public static VfxCamera Looking(Vector3 position, Vector3 forward, Vector3 up)

    The basis for a camera at a point, looking a way, with an idea of which way is up.

Used by (4)

  • ParticleRenderFeatureVixen.Rendering
  • VfxGeometryBuilderVixen.Vfx
  • VfxGeometryTestsVixen.Vfx.Tests
  • VfxRibbonTestsVixen.Vfx.Tests