Struct CinemachineShotQualityEvaluator.DistanceEvaluationSettings
Settings for shot quality evaluation
Inherited Members
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
[Serializable]
public struct CinemachineShotQualityEvaluator.DistanceEvaluationSettings
Fields
Enabled
If enabled, will evaluate shot quality based on target distance
Declaration
[Tooltip("If enabled, will evaluate shot quality based on target distance")]
public bool Enabled
Field Value
Type | Description |
---|---|
bool |
FarLimit
Shots with targets farther from the camera than this will not get a quality boost
Declaration
[Tooltip("Shots with targets farther from the camera than this will not get a quality boost")]
public float FarLimit
Field Value
Type | Description |
---|---|
float |
MaxQualityBoost
High quality shots will be boosted by this fraction of their normal quality
Declaration
[Tooltip("High quality shots will be boosted by this fraction of their normal quality")]
public float MaxQualityBoost
Field Value
Type | Description |
---|---|
float |
NearLimit
Shots with targets closer to the camera than this will not get a quality boost
Declaration
[Tooltip("Shots with targets closer to the camera than this will not get a quality boost")]
public float NearLimit
Field Value
Type | Description |
---|---|
float |
OptimalDistance
If greater than zero, maximum quality boost will occur when target is this far from the camera
Declaration
[Tooltip("If greater than zero, maximum quality boost will occur when target is this far from the camera")]
public float OptimalDistance
Field Value
Type | Description |
---|---|
float |