载入中...
搜索中...
未找到
eve::IDecalQuery类 参考abstract
Runtime decal query surface (provided by the decal module). 更多...
#include <DecalQuery.h>
Public 成员函数 | |
| virtual | ~IDecalQuery ()=default |
| I decal query. | |
| virtual int | project (float x, float y, float z, float nx, float ny, float nz, void *albedoTexture, const std::string &kind, float size, float depth, bool randomYaw, int seed, float fadeIn, float lifetime, float fadeOut)=0 |
Spawn a decal at (x,y,z) facing (nx,ny,nz). albedoTexture is a graphics::Texture* (opaque for the common layer). Returns id (>0) or 0. | |
| virtual bool | remove (int id)=0 |
| Removes . | |
| virtual void | clearAll ()=0 |
| Clears all. | |
| virtual int | count ()=0 |
| Returns the number of . | |
| virtual void | setLimit (const std::string &kind, int limit)=0 |
| Sets the limit. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "IDecalQuery" |
详细描述
Runtime decal query surface (provided by the decal module).
Lets higher modules (editor / devtools) drive decals without linking the decal module. The albedo texture handle is intentionally opaque here so the common layer stays graphics-free; providers reinterpret it as graphics::Texture*.
在文件 DecalQuery.h 第 17 行定义.
构造及析构函数说明
◆ ~IDecalQuery()
|
virtualdefault |
I decal query.
成员函数说明
◆ clearAll()
|
pure virtual |
Clears all.
◆ count()
|
pure virtual |
Returns the number of .
◆ project()
|
pure virtual |
Spawn a decal at (x,y,z) facing (nx,ny,nz). albedoTexture is a graphics::Texture* (opaque for the common layer). Returns id (>0) or 0.
◆ remove()
|
pure virtual |
Removes .
◆ setLimit()
|
pure virtual |
Sets the limit.
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 DecalQuery.h 第 19 行定义.
该类的文档由以下文件生成:
- src/engine/common/DecalQuery.h