Preparing search index...
The search index is not available
Wayward Types Viewer | 2.13.5-beta
Wayward Types Viewer
utilities/math/Sampler
default
Class default<T>
Type Parameters
T
Hierarchy
default
Index
Constructors
constructor
Properties
data
has
Content
height
mirrored
rotation
width
Methods
sample
set
Mirrored
set
Rotation
Constructors
constructor
new default
<
T
>
(
data
:
readonly
T
[]
[]
, rotation
?:
Direction
)
:
default
<
T
>
Type Parameters
T
Parameters
data:
readonly
T
[]
[]
rotation:
Direction
= Direction.East
Returns
default
<
T
>
Properties
Readonly
data
data
:
readonly
T
[]
[]
Readonly
has
Content
has
Content
:
boolean
Readonly
height
height
:
number
mirrored
mirrored
:
boolean
= false
rotation
rotation
:
Direction
= Direction.East
Readonly
width
width
:
number
Methods
sample
sample
(
x
:
number
, y
:
number
)
:
undefined
|
T
Parameters
x:
number
y:
number
Returns
undefined
|
T
set
Mirrored
set
Mirrored
(
mirrored
:
boolean
)
:
default
<
T
>
Parameters
mirrored:
boolean
Returns
default
<
T
>
set
Rotation
set
Rotation
(
rotation
:
East
|
North
|
West
|
South
)
:
default
<
T
>
Parameters
rotation:
East
|
North
|
West
|
South
Returns
default
<
T
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Navigation
Modding Guide
Module Index
Common Modules
@Register
IDoodadDescription
IItemDescription
ITerrainDescription
ITileEventDescription
ICreatureDescription
In This Module
default
constructor
data
has
Content
height
mirrored
rotation
width
sample
set
Mirrored
set
Rotation
Generated using
TypeDoc