PolygonShape.Offset Property
Definition¶
Namespace: Brine2D.Physics
Local-space offset applied to every vertex, shifting the entire polygon relative to the body origin in pixels. Use this to position the polygon away from the body pivot on compound bodies without recomputing all vertex positions manually. Default is System.Numerics.Vector2.Zero.
public System.Numerics.Vector2 Offset { get; init; }