kokomi.js
Preparing search index...
TrailTexture
Class TrailTexture
This class can create a trail texture.
Hierarchy (
View Summary
)
Component
TrailTexture
Index
Constructors
constructor
Properties
base
container
emitter
trail
Texture
Methods
add
Existing
emit
off
on
on
Move
update
Constructors
constructor
new
TrailTexture
(
base
:
Base
,
config
?:
Partial
<
TrailConfig
>
)
:
TrailTexture
Parameters
base
:
Base
config
:
Partial
<
TrailConfig
>
= {}
Returns
TrailTexture
Properties
base
base
:
Base
container
container
:
Scene
emitter
emitter
:
Emitter
<
any
>
trail
Texture
trailTexture
:
TrailTextureImpl
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
on
Move
onMove
(
p
:
Partial
<
Point
>
)
:
void
Parameters
p
:
Partial
<
Point
>
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
emitter
trail
Texture
Methods
add
Existing
emit
off
on
on
Move
update
kokomi.js
Loading...
This class can create a trail texture.