载入中...
搜索中...
未找到
DecalQuery.h
浏览该文件的文档.
1#pragma once
2
3#include "common/Export.h"
4
5#include <string>
6
7namespace eve {
8
18public:
19 static constexpr const char* capabilityName = "IDecalQuery";
20
22 virtual ~IDecalQuery() = default;
23
28 virtual int project(float x, float y, float z, float nx, float ny, float nz,
29 void *albedoTexture, const std::string &kind, float size, float depth,
30 bool randomYaw, int seed, float fadeIn, float lifetime, float fadeOut) = 0;
32 virtual bool remove(int id) = 0;
34 virtual void clearAll() = 0;
36 virtual int count() = 0;
38 virtual void setLimit(const std::string &kind, int limit) = 0;
39};
40
41} // namespace eve
float y
Definition AnimClip.cpp:738
float x
Definition AnimClip.cpp:738
float z
Definition AnimClip.cpp:738
float nx
float nz
float ny
#define EVENGINE_API_FOUNDATION_INLINE
仅供"只有内联成员"的类型使用的组宏:拥有者 dllexport,消费方不导入。
Definition Export.h:170
TokenKind kind
std::weak_ptr< const void > lifetime
std::uint32_t seed
Definition PointSet.cpp:807
int limit
Definition TreeMesh.cpp:164
float size
Definition TreeMesh.cpp:156
std::uint32_t depth
Runtime decal query surface (provided by the decal module).
Definition DecalQuery.h:17
virtual void clearAll()=0
Clears all.
virtual ~IDecalQuery()=default
I decal query.
virtual int count()=0
Returns the number of .
virtual void setLimit(const std::string &kind, int limit)=0
Sets the limit.
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 com...
virtual bool remove(int id)=0
Removes .
Build metadata (engine git commit, build time, third-party version).
Definition Build.cpp:16