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