LeviLamina
Loading...
Searching...
No Matches
UIAnimLayout Class Reference
Inheritance diagram for UIAnimLayout:

Public Types

enum class  ApplyTo : int { Offset = 0 , Size = 1 }
enum class  ApplyTo : int { Offset = 0 , Size = 1 }
enum class  State : int { Running = 0 , Waiting = 1 , WaitingForRender = 2 }
enum class  State : int { Running = 0 , Waiting = 1 , WaitingForRender = 2 }

Public Member Functions

virtual ::std::shared_ptr<::UIAnim > clone ()
virtual bool tick (::UIControl &ownerControl, float const deltaTime)
virtual void _reset (::UIControl &ownerControl)
MCAPI UIAnimLayout (::UIResolvedDef const &def, ::UIAnimLayout::ApplyTo applyTo)
MCAPI void * $ctor (::UIResolvedDef const &def, ::UIAnimLayout::ApplyTo applyTo)
MCAPI ::std::shared_ptr<::UIAnim > $clone ()
MCAPI bool $tick (::UIControl &ownerControl, float const deltaTime)
MCAPI void $_reset (::UIControl &ownerControl)
virtual char const * getInitialValueKey () const
virtual void updateProperties (::UIAnimationComponent &animComponent)
virtual void onResourcesLoaded (::UIAnimationComponent &animComponent)
virtual void _play ()
MCAPI bool _hasEndEventId (uint id, ::std::set< void const * > &otherAnimations) const
MCAPI bool _hasPlayEventId (uint playEventId, ::std::set< void const * > &otherAnimations) const
MCAPI void destroy ()
MCAPI void * $ctor (::ui::AnimationType animType, ::UIResolvedDef const &def)
MCAPI char const * $getInitialValueKey () const
MCAPI void $updateProperties (::UIAnimationComponent &animComponent)
MCAPI void $onResourcesLoaded (::UIAnimationComponent &animComponent)
MCAPI void $_play ()

Public Attributes

::ll::TypedStorage< 4, 4, ::UIAnimLayout::ApplyTo > mApplyTo
::ll::TypedStorage< 8, 56, ::ui::LayoutOffset > mInterpolatedOffset
::ll::TypedStorage< 8, 56, ::ui::LayoutOffset > mFromOffset
::ll::TypedStorage< 8, 56, ::ui::LayoutOffset > mToOffset
::ll::TypedStorage< 1, 1, ::ui::AnimationType > mAnimType
::ll::TypedStorage< 4, 4, float > mTime
::ll::TypedStorage< 8, 8, float(*)(float, float, float)> mEase
::ll::TypedStorage< 4, 4, ::UIAnim::State > mState
::ll::TypedStorage< 4, 4, uint > mAnimEndEventId
::ll::TypedStorage< 4, 4, uint > mPlayEventId
::ll::TypedStorage< 4, 4, uint > mResetEventId
::ll::TypedStorage< 4, 4, float > mDuration
::ll::TypedStorage< 8, 32, ::std::string > mName
::ll::TypedStorage< 8, 32, ::std::string > mNext
::ll::TypedStorage< 8, 32, ::std::string > mDestroyControlAtEnd
::ll::TypedStorage< 1, 1, bool > mResettable
::ll::TypedStorage< 1, 1, bool > mWaitUntilRenderedToPlay
::ll::TypedStorage< 1, 1, bool > mRendered
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::UIAnim > > mNextAnim

Member Function Documentation

◆ tick()

virtual bool UIAnimLayout::tick ( ::UIControl & ownerControl,
float const deltaTime )
virtual

Reimplemented from UIAnim.

◆ _reset()

virtual void UIAnimLayout::_reset ( ::UIControl & ownerControl)
virtual

Reimplemented from UIAnim.


The documentation for this class was generated from the following files: