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