Skip to content

Commit

Permalink
Moved xml comments in CameraControllingEntity.
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Jan 18, 2024
1 parent 218ad03 commit 09681df
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,13 @@ public float MaxViewableAreaMultiplier

public bool IsKeepingTargetsInView { get; set; } = false;

[Obsolete("Use TargetApproachCoefficient instead, since this value is confusingly named.")]
public float LerpCoefficient
{
get => TargetApproachCoefficient;
set => TargetApproachCoefficient = value;
}

/// <summary>
/// The amount of smoothing. The larger the number, faster the Camera moves. This value is ignored if TargetApproachStyle is Immediate.
/// </summary>
Expand All @@ -194,13 +201,6 @@ public float MaxViewableAreaMultiplier
/// then the velocity of the camera will be 20*5 = 100.
/// If TargetApproachStyle is ConstantSpeed, this is the speed of the camera in pixels per second. regardless of the distance to the target.
/// </remarks>
[Obsolete("Use TargetApproachCoefficient instead, since this value is confusingly named.")]
public float LerpCoefficient
{
get => TargetApproachCoefficient;
set => TargetApproachCoefficient = value;
}

public float TargetApproachCoefficient { get; set; } = 5;

/// <summary>
Expand Down

0 comments on commit 09681df

Please sign in to comment.