载入中...
搜索中...
未找到
#include <Light.h>
Public 属性 | |
| std::string | type = "point" |
| float | x = 0.f |
| float | y = 0.f |
| float | dx = 0.f |
| float | dy = -1.f |
| float | r = 1.f |
| float | g = 1.f |
| float | b = 1.f |
| float | intensity = 1.f |
| float | radius = 200.f |
| bool | enabled = true |
| bool | volumetric = false |
| Contribute as volumetric shaft source when collecting occlusion maps. | |
| float | volumetricIntensity = 1.f |
| Canvas * | canvas = nullptr |
| Light2D * | entity = nullptr |
详细描述
类成员变量说明
◆ b
◆ canvas
◆ dx
◆ dy
◆ enabled
◆ entity
◆ g
◆ intensity
◆ r
◆ radius
◆ type
◆ volumetric
| bool eve::graphics::Light2D::Data::volumetric = false |
◆ volumetricIntensity
◆ x
◆ y
该结构体的文档由以下文件生成:
- src/modules/graphics/Light.h