Skip to content

BoxShape(float, float) Constructor

Definition

Namespace: Brine2D.Physics

public BoxShape(float Width, float Height);

Parameters

Width System.Single

Full width in pixels. Must be greater than zero.

Height System.Single

Full height in pixels. Must be greater than zero.