Matrix Engine Api Documentation - v2.0.0
Preparing search index...
ParticleActionEmitter
Class ParticleActionEmitter
Index
Constructors
constructor
Properties
_
final
Matrix
_
local
Matrix
_
q
_
rot
Matrix
action
action
Name
bind
Group
bind
Group
Layout
camera
Buffer
device
enabled
floats
Per
Instance
format
instance
Data
max
Shards
model
Buffer
norm
Buffer
path
Fn
pipeline
pipeline
Layout
pos
Buffer
shader
Module
shards
time
vertex
Count
_
pipeline
Cache
Methods
_
init
Pipeline
_
respawn
_
tetra
Geometry
_
update
Motion
burst
render
set
Action
set
Path
update
Instance
Data
Constructors
constructor
new
ParticleActionEmitter
(
device
:
any
,
format
:
any
,
maxShards
?:
number
,
cameraBuffer
:
any
,
)
:
ParticleActionEmitter
Parameters
device
:
any
format
:
any
maxShards
:
number
= 800
cameraBuffer
:
any
Returns
ParticleActionEmitter
Properties
_
final
Matrix
_finalMatrix
:
Mat4
_
local
Matrix
_localMatrix
:
Mat4
_
q
_q
:
Quat
_
rot
Matrix
_rotMatrix
:
Mat4
action
action
:
any
action
Name
actionName
:
any
bind
Group
bindGroup
:
any
bind
Group
Layout
bindGroupLayout
:
any
camera
Buffer
cameraBuffer
:
any
device
device
:
any
enabled
enabled
:
boolean
floats
Per
Instance
floatsPerInstance
:
number
format
format
:
any
instance
Data
instanceData
:
Float32Array
<
ArrayBuffer
>
max
Shards
maxShards
:
number
model
Buffer
modelBuffer
:
any
norm
Buffer
normBuffer
:
any
path
Fn
pathFn
:
any
pipeline
pipeline
:
any
pipeline
Layout
pipelineLayout
:
any
pos
Buffer
posBuffer
:
any
shader
Module
shaderModule
:
any
shards
shards
:
{
active
:
boolean
;
age
:
number
;
alpha
:
number
;
angle
:
number
;
angularVel
:
number
;
axis
:
number
[]
;
bank
:
number
;
baseScale
:
number
;
color
:
number
[]
;
height
:
number
;
life
:
number
;
orbitSpeed
:
number
;
phase
:
number
;
pos
:
number
[]
;
radius
:
number
;
scale
:
number
;
scaleMod
:
number
;
seed
:
number
;
target
:
number
[]
;
vel
:
number
[]
;
}
[]
time
time
:
number
vertex
Count
vertexCount
:
number
Static
_
pipeline
Cache
_pipelineCache
:
WeakMap
<
WeakKey
,
any
>
= ...
Methods
_
init
Pipeline
_initPipeline
()
:
void
Returns
void
_
respawn
_respawn
(
s
:
any
,
staggerAge
:
any
,
origin
?:
number
[]
,
dir
?:
number
[]
)
:
void
Parameters
s
:
any
staggerAge
:
any
origin
:
number
[]
= ...
dir
:
number
[]
= ...
Returns
void
_
tetra
Geometry
_tetraGeometry
()
:
{
normals
:
Float32Array
<
ArrayBuffer
>
;
positions
:
Float32Array
<
ArrayBuffer
>
;
}
Returns
{
normals
:
Float32Array
<
ArrayBuffer
>
;
positions
:
Float32Array
<
ArrayBuffer
>
}
_
update
Motion
_updateMotion
(
s
:
any
,
dt
:
any
)
:
void
Parameters
s
:
any
dt
:
any
Returns
void
burst
burst
(
origin
:
any
,
dir
?:
number
[]
,
count
?:
number
)
:
void
Parameters
origin
:
any
dir
:
number
[]
= ...
count
:
number
= ...
Returns
void
render
render
(
pass
:
any
,
mesh
:
any
,
viewProjMatrix
:
any
,
dt
?:
number
)
:
void
Parameters
pass
:
any
mesh
:
any
viewProjMatrix
:
any
dt
:
number
= 0.016
Returns
void
set
Action
setAction
(
name
:
any
,
overrides
?:
{}
)
:
void
Parameters
name
:
any
overrides
:
{}
= {}
Returns
void
set
Path
setPath
(
fn
:
any
)
:
void
Parameters
fn
:
any
Returns
void
update
Instance
Data
updateInstanceData
(
baseModelMatrix
:
any
,
dt
?:
number
)
:
void
Parameters
baseModelMatrix
:
any
dt
:
number
= 0.016
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
final
Matrix
_
local
Matrix
_
q
_
rot
Matrix
action
action
Name
bind
Group
bind
Group
Layout
camera
Buffer
device
enabled
floats
Per
Instance
format
instance
Data
max
Shards
model
Buffer
norm
Buffer
path
Fn
pipeline
pipeline
Layout
pos
Buffer
shader
Module
shards
time
vertex
Count
_
pipeline
Cache
Methods
_
init
Pipeline
_
respawn
_
tetra
Geometry
_
update
Motion
burst
render
set
Action
set
Path
update
Instance
Data
Matrix Engine Api Documentation - v2.0.0
Loading...