Class CameraFollowSettings
- Namespace
- SurvivorsMaker.Presentation
- Assembly
- SurvivorsMaker.Presentation.dll
Camera Follow tuning; defaults are defined by the field initializers and can be overridden per game.
public sealed class CameraFollowSettings
- Inheritance
-
CameraFollowSettings
- Inherited Members
Constructors
CameraFollowSettings()
public CameraFollowSettings()
Fields
KeepViewportInside
Keep the orthographic camera viewport within the arena bounds.
[Tooltip("Keep the orthographic camera viewport within the arena bounds.")]
public bool KeepViewportInside
Field Value
Offset
Offset in world units; use nonnegative sizes and signed offsets.
[Tooltip("Offset in world units; use nonnegative sizes and signed offsets.")]
public Vector2 Offset
Field Value
- Vector2
Sharpness
Camera smoothing rate per second; 0 holds the previous position after the first snap.
[Tooltip("Camera smoothing rate per second; 0 holds the previous position after the first snap.")]
public float Sharpness