{"id":13589676,"url":"https://github.com/benui-dev/UE-BUITween","last_synced_at":"2025-04-08T09:33:43.647Z","repository":{"id":45797702,"uuid":"177370080","full_name":"benui-dev/UE-BUITween","owner":"benui-dev","description":"Unreal 4 UMG UI tweening plugin in C++","archived":false,"fork":false,"pushed_at":"2023-08-05T02:46:22.000Z","size":51,"stargazers_count":267,"open_issues_count":4,"forks_count":35,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-10-14T22:02:34.249Z","etag":null,"topics":["animation","cpp","plugin","tween","ue4","ui","umg","unreal","unreal-engine","unreal-engine-4","user-interface"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benui-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-24T04:22:27.000Z","updated_at":"2024-10-04T02:26:22.000Z","dependencies_parsed_at":"2022-07-17T01:15:59.371Z","dependency_job_id":null,"html_url":"https://github.com/benui-dev/UE-BUITween","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benui-dev%2FUE-BUITween","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benui-dev%2FUE-BUITween/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benui-dev%2FUE-BUITween/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benui-dev%2FUE-BUITween/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benui-dev","download_url":"https://codeload.github.com/benui-dev/UE-BUITween/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223314285,"owners_count":17125045,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","cpp","plugin","tween","ue4","ui","umg","unreal","unreal-engine","unreal-engine-4","user-interface"],"created_at":"2024-08-01T16:00:32.850Z","updated_at":"2024-11-06T09:31:20.446Z","avatar_url":"https://github.com/benui-dev.png","language":"C++","readme":"# UI Tweening Libary for UE4/UMG\n\nCreate simple tweens for UMG widgets from C++.\n\n```cpp\nUBUITween::Create( SomeWidget, 0.2f )\n\t.FromTranslation( FVector2D( -100, 0 ) )\n\t.FromOpacity( 0.2f )\n\t.ToTranslation( FVector2D( 20, 10 ) )\n\t.ToOpacity( 1.0f )\n\t.Begin();\n```\n\n\n## Usage\n\nThe plugin module registers itself to tick automatically even during game-world\npause.\n\n```cpp\n// Make UWidget MyWidget fade in from the left\nconst float TweenDuration = 0.7f;\nconst float StartDelay = 0.3f;\nUBUITween::Create( MyWidget, TweenDuration, StartDelay )\n\t.FromTranslation( FVector2D( -100, 0 ) )\n\t.FromOpacity( 0.2f )\n\t.ToReset()\n\t.Easing( EBUIEasingType::OutCubic )\n\t.Begin();\n```\n\nParameters available:\n\n| Property | From | To |\n| --- | --- | --- |\n| **Translation**         | `FromTranslation( FVector2D)`         | `ToTranslation( FVector2D )` |\n| **Scale**               | `FromScale( FVector2D )`              | `ToScale( FVector2D )` |\n| **Rotation**            | `FromRotation( float )`               | `ToRotation( float )` |\n| **Opacity**             | `FromOpacity( float )`                | `ToOpacity( float )` |\n| **Color**               | `FromColor( FLinearColor )`           | `ToColor( FLinearColor )` |\n| **Visibility**          | `FromVisibility( ESlateVisibility )`  | `ToVisibility( ESlateVisibility )` |\n| **Canvas Position**     | `FromCanvasPosition( FVector2D )`     | `ToCanvasPosition( FVector2D )` |\n| **SizeBox Max Height**  | `FromMaxDesiredHeight( float )`       | `ToMaxDesiredHeight( float )` |\n| **Slot Padding**        | `FromPadding( FMargin )`              | `ToPadding( FMargin )` |\n\nOther helper functions:\n\n* `ToReset()`\n\n## Callbacks\n\n```cpp\nUBUITween::Create( MyWidget, 0.5f )\n\t.FromRotation( -90 )\n\t.ToRotation( 45 )\n\t.OnComplete( FBUITweenSignature::CreateLambda([]( UWidget* Owner ) {\n\t\t// Do some logic on complete\n\t} ) )\n\t.Begin();\n```\n\n\nFor the full API, check the source code.\n\n\n## Caveats\n\n* I haven't performance-tested it beyond having 5-6 tweens running simultaneously.\n* No Blueprint support.\n\n## License\n\n[CC0](https://creativecommons.org/publicdomain/zero/1.0/)\n\n## Contact\n\nIf you find it useful, drop me a line [@_benui](https://twitter.com/_benui) on Twitter\n\n[benui.ca](https://benui.ca)\n","funding_links":[],"categories":["Tweens / Object Movements"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenui-dev%2FUE-BUITween","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenui-dev%2FUE-BUITween","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenui-dev%2FUE-BUITween/lists"}