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