Matrix Engine Api Documentation - v2.0.0
Preparing search index...
KaleidoscopeEffect
Class KaleidoscopeEffect
Index
Constructors
constructor
Properties
_
final
Matrix
_
local
Matrix
_
uniform
Data
active
Rotate
bind
Group
bind
Group
Layout
camera
Buffer
color
Format
color
Shift
color
Shift
Speed
device
enabled
format
index
Buffer
index
Count
index
Format
intensity
local
Offset
local
Rotation
model
Buffer
pipeline
pipeline
Layout
scale
segments
shader
Module
speed
time
tint
tint
Strength
uv
Buffer
vertex
Buffer
zoom
_
pipeline
Cache
Methods
_
init
Pipeline
_
upload
Vertex
draw
render
set
Color
Shift
Speed
set
Geometry
set
Intensity
set
Segments
set
Speed
set
Tint
set
Tint
Strength
set
Zoom
update
Instance
Data
Constructors
constructor
new
KaleidoscopeEffect
(
device
:
any
,
format
:
any
,
shape
?:
string
,
params
?:
{}
,
cameraBuffer
:
any
,
)
:
KaleidoscopeEffect
Parameters
device
:
any
format
:
any
shape
:
string
= "quad"
params
:
{}
= {}
cameraBuffer
:
any
Returns
KaleidoscopeEffect
Properties
_
final
Matrix
_finalMatrix
:
Mat4
_
local
Matrix
_localMatrix
:
Mat4
_
uniform
Data
_uniformData
:
Float32Array
<
ArrayBuffer
>
active
Rotate
activeRotate
:
any
bind
Group
bindGroup
:
any
bind
Group
Layout
bindGroupLayout
:
any
camera
Buffer
cameraBuffer
:
any
color
Format
colorFormat
:
any
color
Shift
colorShift
:
any
color
Shift
Speed
colorShiftSpeed
:
any
device
device
:
any
enabled
enabled
:
boolean
format
format
:
any
index
Buffer
indexBuffer
:
any
index
Count
indexCount
:
any
index
Format
indexFormat
:
string
intensity
intensity
:
any
local
Offset
localOffset
:
any
local
Rotation
localRotation
:
any
model
Buffer
modelBuffer
:
any
pipeline
pipeline
:
any
pipeline
Layout
pipelineLayout
:
any
scale
scale
:
any
segments
segments
:
any
shader
Module
shaderModule
:
any
speed
speed
:
any
time
time
:
number
tint
tint
:
any
tint
Strength
tintStrength
:
any
uv
Buffer
uvBuffer
:
any
vertex
Buffer
vertexBuffer
:
any
zoom
zoom
:
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
,
cameraMatrix
:
any
)
:
void
Parameters
pass
:
any
cameraMatrix
:
any
Returns
void
render
render
(
pass
:
any
,
mesh
:
any
,
vp
:
any
)
:
void
Parameters
pass
:
any
mesh
:
any
vp
:
any
Returns
void
set
Color
Shift
Speed
setColorShiftSpeed
(
speed
:
any
)
:
void
Parameters
speed
:
any
Returns
void
set
Geometry
setGeometry
(
type
:
any
,
size
?:
number
,
segments
?:
number
)
:
void
Parameters
type
:
any
size
:
number
= 1
segments
:
number
= 32
Returns
void
set
Intensity
setIntensity
(
intensity
:
any
)
:
void
Parameters
intensity
:
any
Returns
void
set
Segments
setSegments
(
segments
:
any
)
:
void
Parameters
segments
:
any
Returns
void
set
Speed
setSpeed
(
speed
:
any
)
:
void
Parameters
speed
:
any
Returns
void
set
Tint
setTint
(
r
:
any
,
g
:
any
,
b
:
any
)
:
void
Parameters
r
:
any
g
:
any
b
:
any
Returns
void
set
Tint
Strength
setTintStrength
(
strength
:
any
)
:
void
Parameters
strength
:
any
Returns
void
set
Zoom
setZoom
(
zoom
:
any
)
:
void
Parameters
zoom
:
any
Returns
void
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
_
final
Matrix
_
local
Matrix
_
uniform
Data
active
Rotate
bind
Group
bind
Group
Layout
camera
Buffer
color
Format
color
Shift
color
Shift
Speed
device
enabled
format
index
Buffer
index
Count
index
Format
intensity
local
Offset
local
Rotation
model
Buffer
pipeline
pipeline
Layout
scale
segments
shader
Module
speed
time
tint
tint
Strength
uv
Buffer
vertex
Buffer
zoom
_
pipeline
Cache
Methods
_
init
Pipeline
_
upload
Vertex
draw
render
set
Color
Shift
Speed
set
Geometry
set
Intensity
set
Segments
set
Speed
set
Tint
set
Tint
Strength
set
Zoom
update
Instance
Data
Matrix Engine Api Documentation - v2.0.0
Loading...