Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 522 Bytes

decentraland-ecs.size.constructor.md

File metadata and controls

18 lines (12 loc) · 522 Bytes

Home > decentraland-ecs > Size > constructor

Size.constructor method

Creates a Size object from the given width and height (floats).

Signature:

constructor(width: number, height: number);

Parameters

Parameter Type Description
width number width of the new size
height number height of the new size