FollowTuning class final
How the camera trails the runner.
Constructors
- FollowTuning({double distance = 7.0, double height = 2.6, double aimHeight = 1.2, double lag = 9.0, double pitch = -0.22, double minPitch = -1.2, double maxPitch = 0.9, double sensitivity = 0.0035, double nearClearance = 0.35, double minDistance = 1.2, double impulseDecay = 9.0, double lookAhead = 0.34, double lookAheadLimit = 4.0, double recentre = 1.6, double recentreAbove = 3.0})
-
const
Properties
- aimHeight → double
-
How far up the subject the camera looks.
finalinherited
- distance → double
-
How far behind whatever it is watching the camera sits, in metres.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
And how far above it.
finalinherited
- impulseDecay → double
-
How fast a kick, a widening and a shake fade, per second.
final
- lag → double
-
How much of the remaining gap is closed in a second.
finalinherited
- lookAhead → double
-
How far ahead of the runner the camera aims, in seconds of travel.
final
- lookAheadLimit → double
-
How far ahead it may ever aim, in metres.
final
- maxPitch → double
-
final
- minDistance → double
-
How close to the subject it may be pulled before giving up.
finalinherited
- minPitch → double
-
final
- nearClearance → double
-
How far in front of a wall the camera stops.
finalinherited
- pitch → double
-
final
- recentre → double
-
How fast the camera drifts back behind the runner, in radians a second.
final
- recentreAbove → double
-
How fast the runner must be going before the camera drifts, in m/s.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sensitivity → double
-
Radians of turn per unit of look delta.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited