Vixen
02b45cc4
csharp
public static class VirtualCameras

Making shots, and the checks that are worth making once rather than every frame.

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

Methods (4)

  • public static Entity Create(World world, VirtualCamera camera, CameraTargets targets = default(CameraTargets), LocalTransform? local = null)

    Creates a shot with its transform, its targets and the state the stages write.

  • public static bool Validate(World world, Entity entity)

    Whether a shot has at most one body stage and at most one aim stage.

  • public static int BodyCount(World world, Entity entity)

    How many body stages a shot carries. More than one is a configuration error.

  • public static int AimCount(World world, Entity entity)

    How many aim stages a shot carries. More than one is a configuration error.

Used by (7)

  • CameraDirectorTestsVixen.Engine.Tests
  • PlayerCameraTestsVixen.Engine.Tests
  • PlayerCamerasVixen.Engine
  • RigVixen.Engine.Tests
  • RigVixen.Engine.Tests
  • TrackedDollyTestsVixen.Engine.Tests
  • VirtualCameraTestsVixen.Engine.Tests