GitHubPixels Website
  • Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • @systemic-games/react-native-pixels-connect
  • Serializable
  • toAnimation

Function toAnimation

  • toAnimation<T>(type, data, getAnimation, getPattern, getGradient, allowMissingDependency?): Profiles.Animation
  • Type Parameters

    • T extends keyof Serializable.AnimationSetData

    Parameters

    • type: T
    • data: Readonly<Serializable.AnimationSetData[T][number]>
    • getAnimation: ((uuid: string) => undefined | Profiles.Animation)
        • (uuid): undefined | Profiles.Animation
        • Parameters

          • uuid: string

          Returns undefined | Profiles.Animation

    • getPattern: ((uuid: string) => undefined | Profiles.Pattern)
        • (uuid): undefined | Profiles.Pattern
        • Parameters

          • uuid: string

          Returns undefined | Profiles.Pattern

    • getGradient: ((uuid: string) => undefined | RgbGradient)
        • (uuid): undefined | RgbGradient
        • Parameters

          • uuid: string

          Returns undefined | RgbGradient

    • OptionalallowMissingDependency: boolean

    Returns Profiles.Animation

    • Defined in packages/pixels-edit-animation/dist/src/serializable/convert.d.ts:7

Settings

Member Visibility
GitHubPixels Website
Documentation
  • Loading...

Generated using TypeDoc