Skip to content

CameraFollowComponent.Deadzone Property

Definition

Namespace: Brine2D.Systems.Rendering

Deadzone (camera won't move if entity is within this distance from center). When the entity exits the deadzone, the camera follows to maintain the entity at the deadzone edge rather than snapping directly to the entity's position. Both components must be non-negative.

public System.Numerics.Vector2 Deadzone { get; set; }

Property Value

System.Numerics.Vector2