All Projects → benui-dev → ue4-uitween

benui-dev / ue4-uitween

Licence: CC0-1.0 license
Unreal 4 UMG UI tweening plugin in C++

Programming Languages

C++
36643 projects - #6 most used programming language
C#
18002 projects

Projects that are alternatives of or similar to ue4-uitween

Unrealcpp
Unreal Engine 4 C++ examples
Stars: ✭ 490 (+175.28%)
Mutual labels:  unreal, unreal-engine, ue4, unreal-engine-4
UE4-BUIValidator
UE4 UI Texture Validator Plugin
Stars: ✭ 48 (-73.03%)
Mutual labels:  unreal, user-interface, ue4, umg
UT Framework
Various advanced tools built for Unreal Engine 4
Stars: ✭ 45 (-74.72%)
Mutual labels:  unreal-engine, ue4, unreal-engine-4, umg
Gascontent
Repo to gather all Gameplay Ability System content for UE4
Stars: ✭ 398 (+123.6%)
Mutual labels:  unreal, unreal-engine, ue4, unreal-engine-4
Ue4 Gitignore
A git setup example with git-lfs for Unreal Engine 4 projects.
Stars: ✭ 150 (-15.73%)
Mutual labels:  unreal, unreal-engine, ue4, unreal-engine-4
ue5-style-guide
An attempt to make Unreal Engine 4 projects more consistent
Stars: ✭ 2,892 (+1524.72%)
Mutual labels:  unreal, unreal-engine, ue4, unreal-engine-4
Ueviewer
Viewer and exporter for Unreal Engine 1-4 assets (UE Viewer).
Stars: ✭ 1,083 (+508.43%)
Mutual labels:  unreal, unreal-engine, ue4, unreal-engine-4
BMeshUnreal
Based on BMesh for Unity (https://github.com/eliemichel/BMeshUnity). It provides a half-edge data structure inspired by Blender's BMesh, which makes many mesh manipulation operations simpler. Especially useful when using mesh data for logical instead of visual purposes (e.g. irregular grids)
Stars: ✭ 45 (-74.72%)
Mutual labels:  unreal, unreal-engine, ue4, unreal-engine-4
Ue4 Binary Builder
An application designed to create installed Unreal Engine builds (aka Rocket builds) from Unreal Engine GitHub source.
Stars: ✭ 292 (+64.04%)
Mutual labels:  unreal, unreal-engine, ue4, unreal-engine-4
RuntimeBPs
This project allows for visual scripting in UE4 similar to Blueprints, but at runtime. The way this is set up does not make use of any UE4 boilerplate and could with a few adjustments be used in another engine.
Stars: ✭ 77 (-56.74%)
Mutual labels:  unreal, unreal-engine, ue4, unreal-engine-4
gamedevguide
Game Development & Unreal Engine Programming Guide
Stars: ✭ 314 (+76.4%)
Mutual labels:  unreal, unreal-engine, ue4, unreal-engine-4
Ue4 Style Guide
An attempt to make Unreal Engine 4 projects more consistent
Stars: ✭ 2,656 (+1392.13%)
Mutual labels:  unreal, unreal-engine, ue4, unreal-engine-4
ProceduralDungeon
This is an Unreal Engine 4/5 plugin to generate procedural dungeon.
Stars: ✭ 95 (-46.63%)
Mutual labels:  unreal, unreal-engine, ue4, unreal-engine-4
Pbcharactermovement
HL2-style, classic FPS movement for Unreal Engine 4 implemented in C++
Stars: ✭ 582 (+226.97%)
Mutual labels:  unreal, unreal-engine, ue4, unreal-engine-4
Unreal-Binary-Builder
An application designed to create installed Unreal Engine builds (aka Rocket builds) from Unreal Engine GitHub source.
Stars: ✭ 554 (+211.24%)
Mutual labels:  unreal, unreal-engine, ue4, unreal-engine-4
UT GameEventSystem
A flexible event system in Unreal Engine 4
Stars: ✭ 33 (-81.46%)
Mutual labels:  unreal, unreal-engine, ue4, unreal-engine-4
Unreal Polygonal Map Gen
An Unreal Engine 4 implementation of the Polygonal Map Generator for generating islands found at http://www-cs-students.stanford.edu/~amitp/game-programming/polygon-map-generation/
Stars: ✭ 229 (+28.65%)
Mutual labels:  unreal, unreal-engine, ue4, unreal-engine-4
Ue4voxelterrain
[WIP] Unreal Engine 4: Smooth voxel terrian example
Stars: ✭ 415 (+133.15%)
Mutual labels:  unreal, unreal-engine, unreal-engine-4
Ue4 Cheatsheet
An Cheat Sheet for Unreal Engine 4 C++ programming, licensed under CC BY-NC-SA 4.0
Stars: ✭ 318 (+78.65%)
Mutual labels:  unreal, ue4, unreal-engine-4
TransMat
Blender Python - Instantly Recreate Blender Shader Node Trees as Unreal Materials
Stars: ✭ 30 (-83.15%)
Mutual labels:  unreal, unreal-engine, ue4

UI Tweening Libary for UE4/UMG

Create simple tweens for UMG widgets from C++.

UBUITween::Create( SomeWidget, 0.2f )
	.FromTranslation( FVector2D( -100, 0 ) )
	.FromOpacity( 0.2f )
	.ToTranslation( FVector2D( 20, 10 ) )
	.ToOpacity( 1.0f )
	.Begin();

Usage

The plugin module registers itself to tick automatically even during game-world pause.

// Make UWidget MyWidget fade in from the left
const float TweenDuration = 0.7f;
const float StartDelay = 0.3f;
UBUITween::Create( MyWidget, TweenDuration, StartDelay )
	.FromTranslation( FVector2D( -100, 0 ) )
	.FromOpacity( 0.2f )
	.ToReset()
	.Easing( EBUIEasingType::OutCubic )
	.Begin();

Parameters available:

Property From To
Translation FromTranslation( FVector2D) ToTranslation( FVector2D )
Scale FromScale( FVector2D ) ToScale( FVector2D )
Rotation FromRotation( float ) ToRotation( float )
Opacity FromOpacity( float ) ToOpacity( float )
Color FromColor( FLinearColor ) ToColor( FLinearColor )
Visibility FromVisibility( ESlateVisibility ) ToVisibility( ESlateVisibility )
Canvas Position FromCanvasPosition( FVector2D ) ToCanvasPosition( FVector2D )
SizeBox Max Height FromMaxDesiredHeight( float ) ToMaxDesiredHeight( float )
Slot Padding FromPadding( FMargin ) ToPadding( FMargin )

Other helper functions:

  • ToReset()

Callbacks

UBUITween::Create( MyWidget, 0.5f )
	.FromRotation( -90 )
	.ToRotation( 45 )
	.OnComplete( FBUITweenSignature::CreateLambda([]( UWidget* Owner ) {
		// Do some logic on complete
	} ) )
	.Begin();

For the full API, check the source code.

Caveats

  • I haven't performance-tested it beyond having 5-6 tweens running simultaneously.
  • No Blueprint support.

License

CC0

Contact

If you find it useful, drop me a line @_benui on Twitter

benui.ca

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].