Skip to content

Implement [Spinner] properties and update defaults #423

Open

Description

@grzegorzdec

magic-script/magic-script-components#231

Name Type Default Value Required Description
type string n/a The loading spinner type (sprite-animation or particle-package).
resourceId number 0 The resource ID.
resourcePath string '' The resource path in the resource (optional).
height number 0 The height of the loading spinner (optional).
Name Type Default Value Description
value number Sets a normalized value between 0-1 for loading completeness, with 0 being no progress and 1 fully complete. This is used only when the loading spinner is determinate.
size vec2 Sets the loading spinner size. This affects the visual scale of all sprite-based loading spinners but has no affect on the visual scale of a particle-based spinner. Modify the particle files directly to adjust the particle effect size. This does affect, and should be used to adjust, the bounds of all loading spinners.

Activity

  1. added
    Android
    on Feb 6, 2020
  2. added
    iOS
    on Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidiOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions