Kite3D
Toggle table of contents
0.1.0
Guide
GitHub
common
Target filter
common
Switch theme
Search in API
Skip to content
Kite3D
kite3d
/
io.github.yuroyami.kite3d.math
/
Box2
/
setFromCenterAndSize
set
From
Center
And
Size
fun
setFromCenterAndSize
(
center
:
Vector2
,
size
:
Vector2
)
:
Box2
Centers this box on
center
and sets its width and height to
size
.
Return
A reference to this box.