Matrix Engine Api Documentation - v2.0.0
Preparing search index...
EarthquakeEffect
Class EarthquakeEffect
Index
Constructors
constructor
Properties
_
epicenter
_
epicenter
Color
_
final
Matrix
_
local
Matrix
_
params0
_
params1
_
uniform
Data
_
wave
Color
bind
Group
bind
Group
Layout
blend
camera
Buffer
color
Format
current
Geometry
device
displacement
enabled
epicenter
Color
epicenter
Intensity
epicenter
Radius
format
index
Buffer
index
Count
index
Format
intensity
latitude
longitude
magnitude
model
Buffer
pipeline
pipeline
Layout
shader
Module
speed
sphere
Scale
time
uv
Buffer
vertex
Buffer
wave
Color
wave
Count
wave
Spacing
wave
Width
_
pipeline
Cache
Methods
_
init
Pipeline
_
upload
Vertex
draw
insert
Geometry
render
set
Enabled
set
Geometry
set
Magnitude
set
Scale
set
Target
update
Data
update
Instance
Data
Constructors
constructor
new
EarthquakeEffect
(
device
:
any
,
format
:
any
,
colorFormat
:
any
,
params
?:
{}
,
cameraBuffer
:
any
,
)
:
EarthquakeEffect
Parameters
device
:
any
format
:
any
colorFormat
:
any
params
:
{}
= {}
cameraBuffer
:
any
Returns
EarthquakeEffect
Properties
_
epicenter
_epicenter
:
Float32Array
<
ArrayBuffer
>
_
epicenter
Color
_epicenterColor
:
Float32Array
<
ArrayBuffer
>
_
final
Matrix
_finalMatrix
:
Mat4
_
local
Matrix
_localMatrix
:
Mat4
_
params0
_params0
:
Float32Array
<
ArrayBuffer
>
_
params1
_params1
:
Float32Array
<
ArrayBuffer
>
_
uniform
Data
_uniformData
:
Float32Array
<
ArrayBuffer
>
_
wave
Color
_waveColor
:
Float32Array
<
ArrayBuffer
>
bind
Group
bindGroup
:
any
bind
Group
Layout
bindGroupLayout
:
any
blend
blend
:
any
camera
Buffer
cameraBuffer
:
any
color
Format
colorFormat
:
any
current
Geometry
currentGeometry
:
string
device
device
:
any
displacement
displacement
:
any
enabled
enabled
:
any
epicenter
Color
epicenterColor
:
any
epicenter
Intensity
epicenterIntensity
:
any
epicenter
Radius
epicenterRadius
:
any
format
format
:
any
index
Buffer
indexBuffer
:
any
index
Count
indexCount
:
any
index
Format
indexFormat
:
string
intensity
intensity
:
any
latitude
latitude
:
any
longitude
longitude
:
any
magnitude
magnitude
:
any
model
Buffer
modelBuffer
:
any
pipeline
pipeline
:
any
pipeline
Layout
pipelineLayout
:
any
shader
Module
shaderModule
:
any
speed
speed
:
any
sphere
Scale
sphereScale
:
any
time
time
:
number
uv
Buffer
uvBuffer
:
any
vertex
Buffer
vertexBuffer
:
any
wave
Color
waveColor
:
any
wave
Count
waveCount
:
any
wave
Spacing
waveSpacing
:
any
wave
Width
waveWidth
:
any
Static
_
pipeline
Cache
_pipelineCache
:
WeakMap
<
WeakKey
,
any
>
= ...
Methods
_
init
Pipeline
_initPipeline
()
:
void
Returns
void
_
upload
Vertex
_uploadVertex
(
data
:
any
)
:
any
Parameters
data
:
any
Returns
any
draw
draw
(
pass
:
any
,
viewProjMatrix
:
any
)
:
void
Parameters
pass
:
any
viewProjMatrix
:
any
Returns
void
insert
Geometry
insertGeometry
(
mesh
:
any
)
:
void
Parameters
mesh
:
any
Returns
void
render
render
(
pass
:
any
,
mesh
:
any
,
viewProjMatrix
:
any
)
:
void
Parameters
pass
:
any
mesh
:
any
viewProjMatrix
:
any
Returns
void
set
Enabled
setEnabled
(
enabled
:
any
)
:
EarthquakeEffect
Parameters
enabled
:
any
Returns
EarthquakeEffect
set
Geometry
setGeometry
(
type
:
any
,
size
?:
number
,
segments
?:
number
)
:
void
Parameters
type
:
any
size
:
number
= 1
segments
:
number
= 96
Returns
void
set
Magnitude
setMagnitude
(
magnitude
:
any
)
:
EarthquakeEffect
Parameters
magnitude
:
any
Returns
EarthquakeEffect
set
Scale
setScale
(
scale
:
any
)
:
void
Parameters
scale
:
any
Returns
void
set
Target
setTarget
(
latitude
:
any
,
longitude
:
any
)
:
EarthquakeEffect
Parameters
latitude
:
any
longitude
:
any
Returns
EarthquakeEffect
update
Data
updateData
(
data
?:
{}
)
:
EarthquakeEffect
Parameters
data
:
{}
= {}
Returns
EarthquakeEffect
update
Instance
Data
updateInstanceData
(
baseModelMatrix
:
any
)
:
void
Parameters
baseModelMatrix
:
any
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
epicenter
_
epicenter
Color
_
final
Matrix
_
local
Matrix
_
params0
_
params1
_
uniform
Data
_
wave
Color
bind
Group
bind
Group
Layout
blend
camera
Buffer
color
Format
current
Geometry
device
displacement
enabled
epicenter
Color
epicenter
Intensity
epicenter
Radius
format
index
Buffer
index
Count
index
Format
intensity
latitude
longitude
magnitude
model
Buffer
pipeline
pipeline
Layout
shader
Module
speed
sphere
Scale
time
uv
Buffer
vertex
Buffer
wave
Color
wave
Count
wave
Spacing
wave
Width
_
pipeline
Cache
Methods
_
init
Pipeline
_
upload
Vertex
draw
insert
Geometry
render
set
Enabled
set
Geometry
set
Magnitude
set
Scale
set
Target
update
Data
update
Instance
Data
Matrix Engine Api Documentation - v2.0.0
Loading...