Skip to content

PhysicsOptions.PixelsPerMeter Property

Definition

Namespace: Brine2D.Physics

Pixel-to-meter ratio passed to B2.SetLengthUnitsPerMeter. Default: 100 (1 meter = 100 pixels).

public float PixelsPerMeter { get; set; }

Property Value

System.Single

Remarks

\<b>Process-wide constraint:\</b> every PhysicsWorld in the same process must use the same value.