载入中...
搜索中...
未找到
PlacementSession.cpp
浏览该文件的文档.
Definition Ghost.h:13
void setFromWorld(PlacementWorld *world, float worldX, float worldY)
按世界吸附模式,从世界坐标刷新格子与世界位姿。
Definition Ghost.cpp:45
void setFromWorld3D(PlacementWorld *world, float worldX, float worldY, float worldZ)
Definition Ghost.cpp:57
void setFromSurface(PlacementWorld *world, const std::string &surface, float x, float y)
Definition Ghost.cpp:69
float getRotationDeg() const
Definition PlacementSession.cpp:49
void stopPlacement()
Definition PlacementSession.cpp:24
void setRotationDeg(float deg)
Definition PlacementSession.cpp:41
void setMode(const std::string &mode)
Definition PlacementSession.cpp:33
PlacementSession()
Definition PlacementSession.cpp:7
bool startPlacement(PlacementWorld *world, const std::string &buildingId)
Definition PlacementSession.cpp:15
std::string getReason() const
Definition PlacementSession.cpp:84
bool updateFromWorld3D(PlacementWorld *world, float worldX, float worldY, float worldZ)
Definition PlacementSession.cpp:62
std::string getBuildingId() const
Definition PlacementSession.cpp:29
bool updateFromWorld(PlacementWorld *world, float worldX, float worldY)
Definition PlacementSession.cpp:53
void rotateBy(float deltaDeg)
Definition PlacementSession.cpp:45
bool updateFromSurface(PlacementWorld *world, const std::string &surface, float x, float y)
Definition PlacementSession.cpp:72
bool removeBuilding(int instanceId)
Definition PlacementWorld.cpp:421
int placeGhost(Ghost *ghost)
Definition PlacementWorld.cpp:417
建筑放置模块入口:定义 / 放置世界 / 鬼影 / 变更事件的脚本绑定点。 设计文档:docs/dev/建筑放置系统设计.md
Definition Building.cpp:7