kokomi.js
Preparing search index...
MojiGroup
Class MojiGroup
An encapsuled class to sync multiple
kokomi.TextMesh
with DOM.
Hierarchy (
View Summary
)
Component
MojiGroup
Index
Constructors
constructor
Properties
base
container
el
List
emitter
fragment
Shader
is
Scroll
Position
Sync
material
Params
mojis
scroller
text
Mesh
Config
text
Mesh
Material
uniform
Injector
uniforms
use
Self
Scroller
vertex
Shader
Methods
add
Existing
emit
off
on
update
Constructors
constructor
new
MojiGroup
(
base
:
Base
,
config
?:
Partial
<
MojiConfig
>
)
:
MojiGroup
Parameters
base
:
Base
config
:
Partial
<
MojiConfig
>
= {}
Returns
MojiGroup
Properties
base
base
:
Base
container
container
:
Scene
el
List
elList
:
HTMLElement
[]
emitter
emitter
:
Emitter
<
any
>
fragment
Shader
fragmentShader
:
string
is
Scroll
Position
Sync
isScrollPositionSync
:
boolean
material
Params
materialParams
:
AllMaterialParams
mojis
mojis
:
Moji
[]
scroller
scroller
:
Scroller
|
null
text
Mesh
Config
textMeshConfig
:
any
text
Mesh
Material
textMeshMaterial
:
ShaderMaterial
|
null
uniform
Injector
uniformInjector
:
UniformInjector
uniforms
uniforms
:
{
[
uniform
:
string
]:
IUniform
<
any
>
}
use
Self
Scroller
useSelfScroller
:
boolean
vertex
Shader
vertexShader
:
string
Methods
add
Existing
addExisting
()
:
void
Returns
void
emit
emit
(
type
:
string
,
event
?:
any
)
:
void
Parameters
type
:
string
event
:
any
= {}
Returns
void
off
off
(
type
:
string
,
handler
:
any
)
:
void
Parameters
type
:
string
handler
:
any
Returns
void
on
on
(
type
:
string
,
handler
:
any
)
:
void
Parameters
type
:
string
handler
:
any
Returns
void
update
update
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base
container
el
List
emitter
fragment
Shader
is
Scroll
Position
Sync
material
Params
mojis
scroller
text
Mesh
Config
text
Mesh
Material
uniform
Injector
uniforms
use
Self
Scroller
vertex
Shader
Methods
add
Existing
emit
off
on
update
kokomi.js
Loading...
An encapsuled class to sync multiple
kokomi.TextMeshwith DOM.