载入中...
搜索中...
未找到
PcgGrowth.h
浏览该文件的文档.
[[nodiscard]] Result<void> configure(float startScale,float endScale,float variance,float duration); [[nodiscard]] Result<void> start(float now,std::uint32_t seed); [[nodiscard]] Result<float> advance(float now); [[nodiscard]] Result<void> die(float now); [[nodiscard]] Result<bool> shouldDestroy(float now)const; float getActualEndScale()const noexcept{return actualEnd_;} float getScale()const noexcept{return scale_;} bool getFinished()const noexcept{return finished_;}
22[[nodiscard]] EVENGINE_API_PLATFORM Result<bool> applyPcgGrowth(PcgGrowth& growth, SceneNodeRef& node, float now);
void exposePcgGrowthBindings(ssq::Table& table);
Move-only, checked operation results for the common layer.
Caller-owned one-shot Pcg Growth state with explicit time and random seed.
Definition PcgGrowth.h:8
Script handle to a scene node (hostName + nodeId). Deliberately holds strings rather than arena point...
Definition SceneNodeRef.h:20
Definition AvatarInstance.h:33
Result< bool > applyPcgGrowth(PcgGrowth &g, SceneNodeRef &node, float now)
Advance growth on a real scene node; returns true when it removed the node.
Definition PcgGrowth.cpp:14
enum EVENGINE_API_FOUNDATION Table
OT_TABLE (editable via Runtime table APIs / ReflectedPropertyModel).
Definition Runtime.h:121