Search
Preparing search index...
The search index is not available
SDF-2D - v0.7.6
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
PolygonBase
Class PolygonBase
Hierarchy
EmptyDrawable
PolygonBase
NoisyPolygonBase
Index
Constructors
constructor
Properties
vertices
descriptor
Methods
get
Object
ToSerialize
min
Distance
Constructors
constructor
new
Polygon
Base
(
vertices
:
Array
<
vec2
>
)
:
PolygonBase
Parameters
vertices:
Array
<
vec2
>
Returns
PolygonBase
Properties
vertices
vertices
:
Array
<
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
Polygon
Base
constructor
vertices
descriptor
get
Object
ToSerialize
min
Distance