载入中...
搜索中...
未找到
eve::graphics::Light2D::Data结构体 参考

#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
 
Canvascanvas = nullptr
 
Light2Dentity = nullptr
 

详细描述

在文件 Light.h37 行定义.

类成员变量说明

◆ b

float eve::graphics::Light2D::Data::b = 1.f

在文件 Light.h43 行定义.

◆ canvas

Canvas* eve::graphics::Light2D::Data::canvas = nullptr

在文件 Light.h50 行定义.

◆ dx

float eve::graphics::Light2D::Data::dx = 0.f

在文件 Light.h41 行定义.

◆ dy

float eve::graphics::Light2D::Data::dy = -1.f

在文件 Light.h42 行定义.

◆ enabled

bool eve::graphics::Light2D::Data::enabled = true

在文件 Light.h46 行定义.

◆ entity

Light2D* eve::graphics::Light2D::Data::entity = nullptr

在文件 Light.h51 行定义.

◆ g

float eve::graphics::Light2D::Data::g = 1.f

在文件 Light.h43 行定义.

◆ intensity

float eve::graphics::Light2D::Data::intensity = 1.f

在文件 Light.h44 行定义.

◆ r

float eve::graphics::Light2D::Data::r = 1.f

在文件 Light.h43 行定义.

◆ radius

float eve::graphics::Light2D::Data::radius = 200.f

在文件 Light.h45 行定义.

◆ type

std::string eve::graphics::Light2D::Data::type = "point"

在文件 Light.h38 行定义.

◆ volumetric

bool eve::graphics::Light2D::Data::volumetric = false

Contribute as volumetric shaft source when collecting occlusion maps.

在文件 Light.h48 行定义.

◆ volumetricIntensity

float eve::graphics::Light2D::Data::volumetricIntensity = 1.f

在文件 Light.h49 行定义.

◆ x

float eve::graphics::Light2D::Data::x = 0.f

在文件 Light.h39 行定义.

◆ y

float eve::graphics::Light2D::Data::y = 0.f

在文件 Light.h40 行定义.


该结构体的文档由以下文件生成: