GitHub
Pixels Website
Preparing search index...
The search index is not available
Documentation
Documentation
@systemic-games/pixels-edit-animation
Serializable
toAnimation
Function toAnimation
to
Animation
<
T
>
(
type
,
data
,
getAnimation
,
getPattern
,
getGradient
,
allowMissingDependency
?
)
:
EditAnimation
Type Parameters
T
extends
keyof
Serializable
.
AnimationSetData
Parameters
type
:
T
data
:
Readonly
<
Serializable
.
AnimationSetData
[
T
]
[
number
]
>
getAnimation
:
(
(
uuid
:
string
)
=>
undefined
|
EditAnimation
)
(
uuid
)
:
undefined
|
EditAnimation
Parameters
uuid
:
string
Returns
undefined
|
EditAnimation
getPattern
:
(
(
uuid
:
string
)
=>
undefined
|
EditPattern
)
(
uuid
)
:
undefined
|
EditPattern
Parameters
uuid
:
string
Returns
undefined
|
EditPattern
getGradient
:
(
(
uuid
:
string
)
=>
undefined
|
EditRgbGradient
)
(
uuid
)
:
undefined
|
EditRgbGradient
Parameters
uuid
:
string
Returns
undefined
|
EditRgbGradient
allowMissingDependency
:
boolean
= false
Returns
EditAnimation
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
Pixels Website
Documentation
Loading...