Vixen
02b45cc4
csharp
public struct CameraBlend

How long a transition takes and what shape it has.

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

Fields and properties (5)

  • public CameraBlendStyle Style

    The curve.

  • public float Duration

    How long it takes, in seconds. Zero is a cut whatever the style says.

  • public static CameraBlend Default

    An eased blend over two seconds — long enough to read as a camera move.

  • public static CameraBlend Cut

    No blend at all.

  • public readonly bool IsCut

    Whether this blend does anything at all.

Methods (3)

  • public static CameraBlend Over(float seconds)

    An eased blend of a given length.

  • public readonly float Evaluate(float elapsed)

    The eased progress at a point through the blend.

  • public static void Mix(Vector3 fromPosition, Quaternion fromRotation, Vector3 toPosition, Quaternion toRotation, float amount, out Vector3 position, out Quaternion rotation)

    Mixes two composed camera states.

Used by (8)

  • CameraBlendTableVixen.Engine
  • CameraDirectorVixen.Engine
  • CameraDirectorSystemVixen.Engine
  • CameraDirectorTestsVixen.Engine.Tests
  • DirectorStateVixen.Engine
  • TypeRegistrationVixen.Engine
  • Vixen_Engine_Cameras_CameraBlendSerializerVixen.Engine
  • Vixen_Engine_Cameras_CameraDirectorSerializerVixen.Engine