Preparing search index...
The search index is not available
glpower
glpower
Animator
Class Animator
Hierarchy
EventEmitter
Animator
Index
Constructors
constructor
Properties
variables
Methods
add
animate
cancel
emit
get
get
Value
has
Event
off
on
once
update
Constructors
constructor
new
Animator
(
)
:
Animator
Returns
Animator
Properties
Protected
variables
variables
:
Map
<
string
,
AnimatorVariable
<
AnimatorVariableType
>
>
Methods
add
add
(
name
:
string
, init
:
AnimatorVariableType
, easing
?:
EasingFunc
, type
?:
UniformType
)
:
void
Parameters
name:
string
init:
AnimatorVariableType
easing:
EasingFunc
= Easings.easeInOutCubic
Optional
type:
UniformType
Returns
void
animate
animate
(
name
:
string
, value
:
AnimatorVariableType
, duration
?:
number
, cb
?:
(
(
)
=>
void
)
)
:
void
Parameters
name:
string
value:
AnimatorVariableType
duration:
number
= 1
Optional
cb:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
void
cancel
cancel
(
name
:
string
)
:
void
Parameters
name:
string
Returns
void
emit
emit
(
event
:
string
, args
?:
any
[]
)
:
void
Parameters
event:
string
Optional
args:
any
[]
Returns
void
get
get
<
T
>
(
name
:
string
)
:
null
|
AnimatorVariable
<
T
>
Type Parameters
T
extends
AnimatorVariableType
Parameters
name:
string
Returns
null
|
AnimatorVariable
<
T
>
get
Value
get
Value
<
T
>
(
name
:
string
)
:
null
|
T
Type Parameters
T
extends
AnimatorVariableType
Parameters
name:
string
Returns
null
|
T
has
Event
has
Event
(
event
:
string
)
:
boolean
Parameters
event:
string
Returns
boolean
off
off
(
event
:
string
, cb
?:
Function
)
:
void
Parameters
event:
string
Optional
cb:
Function
Returns
void
on
on
(
event
:
string
, cb
:
Function
)
:
void
Parameters
event:
string
cb:
Function
Returns
void
once
once
(
event
:
string
, cb
:
Function
)
:
void
Parameters
event:
string
cb:
Function
Returns
void
update
update
(
deltaTime
:
number
)
:
void
Parameters
deltaTime:
number
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
glpower
Bezier
Easings
ID
Maths
Types
Uniforms
Utils
Animator
constructor
variables
add
animate
cancel
emit
get
get
Value
has
Event
off
on
once
update
Generated using
TypeDoc