Matrix Engine Api Documentation - v2.0.0
Preparing search index...
ChartsEffect
Class ChartsEffect
Index
Constructors
constructor
Properties
_
final
Model
_
grid
Spacing
Height
_
grid
Time
_
grid
Time
Steps
Coin
Count
bind
Group
bind
Group
Layout
camera
camera
Buffer
coin
Count
coins
cube
Height
device
enabled
floats
Per
Instance
format
grid
Uniform
Buffer
icon
Container
icon
Map
icon
Offset
icon
Preview
icon
Scale
icon
Size
index
Buffer
index
Count
instance
Buffer
instance
Data
label
Container
label
Max
Distance
max
Instances
normal
Buffer
pipeline
pipeline
Layout
shader
Module
smoothed
Heights
spacing
time
time
Steps
title
Container
vertex
Buffer
_
pipeline
Cache
Methods
_
build
Cube
Geometry
_
create
Icon
Container
_
create
Label
Container
_
init
Pipeline
_
mul
Vec4
_
upload
dispose
render
update
Data
update
Icons
update
Instance
Data
update
Labels
Constructors
constructor
new
ChartsEffect
(
device
:
any
,
format
:
any
,
maxInstances
?:
number
,
cameraBuffer
:
any
,
options
?:
{}
,
)
:
ChartsEffect
Parameters
device
:
any
format
:
any
maxInstances
:
number
= 64
cameraBuffer
:
any
options
:
{}
= {}
Returns
ChartsEffect
Properties
_
final
Model
_finalModel
:
Mat4
_
grid
Spacing
Height
_gridSpacingHeight
:
Float32Array
<
ArrayBuffer
>
_
grid
Time
_gridTime
:
Float32Array
<
ArrayBuffer
>
_
grid
Time
Steps
Coin
Count
_gridTimeStepsCoinCount
:
Uint32Array
<
ArrayBuffer
>
bind
Group
bindGroup
:
any
bind
Group
Layout
bindGroupLayout
:
any
camera
camera
:
any
camera
Buffer
cameraBuffer
:
any
coin
Count
coinCount
:
number
coins
coins
:
any
cube
Height
cubeHeight
:
number
device
device
:
any
enabled
enabled
:
boolean
floats
Per
Instance
floatsPerInstance
:
number
format
format
:
any
grid
Uniform
Buffer
gridUniformBuffer
:
any
icon
Container
iconContainer
:
HTMLDivElement
icon
Map
iconMap
:
any
icon
Offset
iconOffset
:
any
icon
Preview
iconPreview
:
any
icon
Scale
iconScale
:
any
icon
Size
iconSize
:
any
index
Buffer
indexBuffer
:
any
index
Count
indexCount
:
number
instance
Buffer
instanceBuffer
:
any
instance
Data
instanceData
:
Float32Array
<
ArrayBuffer
>
label
Container
labelContainer
:
HTMLDivElement
label
Max
Distance
labelMaxDistance
:
number
max
Instances
maxInstances
:
number
normal
Buffer
normalBuffer
:
any
pipeline
pipeline
:
any
pipeline
Layout
pipelineLayout
:
any
shader
Module
shaderModule
:
any
smoothed
Heights
smoothedHeights
:
Float32Array
<
ArrayBuffer
>
spacing
spacing
:
number
time
time
:
number
time
Steps
timeSteps
:
number
title
Container
titleContainer
:
HTMLDivElement
vertex
Buffer
vertexBuffer
:
any
Static
_
pipeline
Cache
_pipelineCache
:
WeakMap
<
WeakKey
,
any
>
= ...
Methods
_
build
Cube
Geometry
_buildCubeGeometry
()
:
{
indices
:
Uint16Array
<
ArrayBuffer
>
;
vertices
:
Float32Array
<
ArrayBuffer
>
;
}
Returns
{
indices
:
Uint16Array
<
ArrayBuffer
>
;
vertices
:
Float32Array
<
ArrayBuffer
>
}
_
create
Icon
Container
_createIconContainer
()
:
HTMLDivElement
Returns
HTMLDivElement
_
create
Label
Container
_createLabelContainer
()
:
HTMLDivElement
Returns
HTMLDivElement
_
init
Pipeline
_initPipeline
()
:
void
Returns
void
_
mul
Vec4
_mulVec4
(
m
:
any
,
v
:
any
)
:
number
[]
Parameters
m
:
any
v
:
any
Returns
number
[]
_
upload
_upload
(
data
:
any
,
usage
:
any
)
:
any
Parameters
data
:
any
usage
:
any
Returns
any
dispose
dispose
()
:
void
Returns
void
render
render
(
pass
:
any
,
mesh
:
any
,
viewProjMatrix
:
any
)
:
void
Parameters
pass
:
any
mesh
:
any
viewProjMatrix
:
any
Returns
void
update
Data
updateData
(
grid
:
any
)
:
void
Parameters
grid
:
any
Returns
void
update
Icons
updateIcons
(
coins
:
any
,
baseModelMatrix
:
any
,
viewProjMatrix
:
any
,
canvasWidth
:
any
,
canvasHeight
:
any
,
)
:
void
Parameters
coins
:
any
baseModelMatrix
:
any
viewProjMatrix
:
any
canvasWidth
:
any
canvasHeight
:
any
Returns
void
update
Instance
Data
updateInstanceData
(
baseModelMatrix
:
any
)
:
void
Parameters
baseModelMatrix
:
any
Returns
void
update
Labels
updateLabels
(
coins
:
any
,
baseModelMatrix
:
any
,
viewProjMatrix
:
any
,
canvasWidth
:
any
,
canvasHeight
:
any
,
)
:
void
Parameters
coins
:
any
baseModelMatrix
:
any
viewProjMatrix
:
any
canvasWidth
:
any
canvasHeight
:
any
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
final
Model
_
grid
Spacing
Height
_
grid
Time
_
grid
Time
Steps
Coin
Count
bind
Group
bind
Group
Layout
camera
camera
Buffer
coin
Count
coins
cube
Height
device
enabled
floats
Per
Instance
format
grid
Uniform
Buffer
icon
Container
icon
Map
icon
Offset
icon
Preview
icon
Scale
icon
Size
index
Buffer
index
Count
instance
Buffer
instance
Data
label
Container
label
Max
Distance
max
Instances
normal
Buffer
pipeline
pipeline
Layout
shader
Module
smoothed
Heights
spacing
time
time
Steps
title
Container
vertex
Buffer
_
pipeline
Cache
Methods
_
build
Cube
Geometry
_
create
Icon
Container
_
create
Label
Container
_
init
Pipeline
_
mul
Vec4
_
upload
dispose
render
update
Data
update
Icons
update
Instance
Data
update
Labels
Matrix Engine Api Documentation - v2.0.0
Loading...