csharp
public struct CameraBlendHow 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 StyleThe curve.
public float DurationHow long it takes, in seconds. Zero is a cut whatever the style says.
public static CameraBlend DefaultAn eased blend over two seconds — long enough to read as a camera move.
public static CameraBlend CutNo blend at all.
public readonly bool IsCutWhether 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