Search
Preparing search index...
The search index is not available
SDF-2D - v0.7.6
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
RotatedRectangleBase
Class RotatedRectangleBase
Hierarchy
EmptyDrawable
RotatedRectangleBase
Index
Constructors
constructor
Properties
center
rotation
size
descriptor
Methods
get
Object
ToSerialize
min
Distance
Constructors
constructor
new
Rotated
Rectangle
Base
(
center
:
vec2
, size
:
vec2
, rotation
:
number
)
:
RotatedRectangleBase
Parameters
center:
vec2
size:
vec2
rotation:
number
Returns
RotatedRectangleBase
Properties
center
center
:
vec2
rotation
rotation
:
number
size
size
:
vec2
Static
Readonly
descriptor
descriptor
:
DrawableDescriptor
Methods
Protected
get
Object
ToSerialize
get
Object
ToSerialize
(
transform2d
:
mat2d
, transform1d
:
number
)
:
any
Parameters
transform2d:
mat2d
transform1d:
number
Returns
any
min
Distance
min
Distance
(
target
:
vec2
)
:
number
Parameters
target:
vec2
Returns
number
Globals
Rotated
Rectangle
Base
constructor
center
rotation
size
descriptor
get
Object
ToSerialize
min
Distance