ShitEngine
1.4.2
基于 C++20 与 SDL3 的轻量级 2D 游戏引擎
Toggle main menu visibility
载入中...
搜索中...
未找到
AnimationComponent 成员列表
成员的完整列表,这些成员属于
AnimationComponent
,包括所有继承而来的类成员
addAnimation
(const std::string &name, std::unique_ptr< Animation > animation)
AnimationComponent
addClip
(const std::string &name)
AnimationComponent
AnimationComponent
()
AnimationComponent
Behavior
()=default
Behavior
clipAt
(int index) const
AnimationComponent
clipCount
() const
AnimationComponent
inline
clips
() const
AnimationComponent
inline
Component
()
Component
Component
(const Component &)=delete
Component
Component
(Component &&)=delete
Component
defaultClipIndex
() const
AnimationComponent
getCurrentAnimationName
() const
AnimationComponent
inline
getOwner
() const
Component
inline
getUuid
() const
Component
inline
isPaused
() const
AnimationComponent
inline
isPlaying
() const
AnimationComponent
inline
isRegistered
() const
Component
inline
isStarted
() const
Behavior
inline
m_isRegistered
Component
protected
m_isStarted
Behavior
protected
m_owner
Component
protected
m_uuid
Component
protected
onAfterDeserialize
() override
AnimationComponent
virtual
onAttach
() override
AnimationComponent
virtual
onCollisionEnter
(GameObject *other)
Behavior
virtual
onCollisionExit
(GameObject *other)
Behavior
virtual
onCollisionStay
(GameObject *other)
Behavior
virtual
onCreate
() override
Behavior
virtual
onDestroy
() override
AnimationComponent
virtual
onDetach
() override
Behavior
virtual
onFieldChanged
(const std::string &fieldName) override
AnimationComponent
virtual
onFixedUpdate
(float fixedDt)
Behavior
virtual
onStart
() override
AnimationComponent
virtual
onUpdate
() override
AnimationComponent
virtual
operator=
(const Component &)=delete
Component
operator=
(Component &&)=delete
Component
pause
()
AnimationComponent
play
(const std::string &name)
AnimationComponent
play
(const std::string &name, const SpriteSheet &sheet, const std::vector< int > &frames, float duration=0.1f, bool loop=true)
AnimationComponent
removeClip
(int index)
AnimationComponent
resume
()
AnimationComponent
setClip
(int index, const AnimationClip &clip)
AnimationComponent
setDefaultClip
(int index)
AnimationComponent
setRegistered
(bool registered)
Component
inline
protected
setStarted
(bool isStarted)
Behavior
inline
setUuid
(uint64_t uuid)
Component
inline
stop
()
AnimationComponent
syncClipsData
()
AnimationComponent
~AnimationComponent
() override
AnimationComponent
~Behavior
() override=default
Behavior
~Component
()=default
Component
virtual
制作者
1.17.0