Blockbench Reference Docs
Preparing search index...
custom/animation
GeneralAnimator
Class GeneralAnimator
Hierarchy (
View Summary
)
GeneralAnimator
BoneAnimator
NullObjectAnimator
EffectAnimator
Indexable
[
channel
:
string
]:
any
Index
Constructors
constructor
Properties
animation
channels
expanded
keyframes
muted
selected
uuid
Methods
add
Keyframe
add
To
Timeline
create
Keyframe
get
Or
Make
Keyframe
scroll
To
select
toggle
Muted
add
Channel
Constructors
constructor
new
GeneralAnimator
(
uuid
:
string
,
animation
:
_Animation
,
name
:
string
,
)
:
GeneralAnimator
Parameters
uuid
:
string
animation
:
_Animation
name
:
string
Returns
GeneralAnimator
Properties
animation
animation
:
_Animation
channels
channels
:
{
[
channel
:
string
]:
Channel
}
expanded
expanded
:
boolean
keyframes
keyframes
:
_Keyframe
[]
muted
muted
:
{
[
channel
:
string
]:
boolean
}
selected
selected
:
boolean
uuid
uuid
:
string
Methods
add
Keyframe
addKeyframe
(
data
:
KeyframeOptions
,
uuid
?:
string
)
:
_Keyframe
Parameters
data
:
KeyframeOptions
Optional
uuid
:
string
Returns
_Keyframe
add
To
Timeline
addToTimeline
()
:
this
Returns
this
create
Keyframe
createKeyframe
()
:
_Keyframe
Returns
_Keyframe
get
Or
Make
Keyframe
getOrMakeKeyframe
()
:
{
before
:
_Keyframe
;
result
:
_Keyframe
}
Returns
{
before
:
_Keyframe
;
result
:
_Keyframe
}
scroll
To
scrollTo
()
:
this
Returns
this
select
select
()
:
this
Returns
this
toggle
Muted
toggleMuted
(
channel
:
string
)
:
this
Parameters
channel
:
string
Returns
this
Static
add
Channel
addChannel
(
channel
:
string
,
options
:
AddChannelOptions
)
:
void
Parameters
channel
:
string
options
:
AddChannelOptions
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
animation
channels
expanded
keyframes
muted
selected
uuid
Methods
add
Keyframe
add
To
Timeline
create
Keyframe
get
Or
Make
Keyframe
scroll
To
select
toggle
Muted
add
Channel
Blockbench Reference Docs
Loading...