dl
dl::LightDot类 参考

点光源 更多...

#include <dl_light.h>

Public 成员函数

void Render ()
 
void SetStrength (const Position3 &s)
 设置强度
 
void SetPosition (const Position3 &p)
 设置位置
 
void SetFalloff (const Position2 &falloff)
 设置衰减范围
 
 LightDot ()
 

友元

class VK
 

详细描述

点光源

在文件 dl_light.h59 行定义.

构造及析构函数说明

◆ LightDot()

dl::LightDot::LightDot ( )
inline

在文件 dl_light.h89 行定义.

成员函数说明

◆ Render()

void dl::LightDot::Render ( )

◆ SetFalloff()

void dl::LightDot::SetFalloff ( const Position2 & falloff)
inline

设置衰减范围

在文件 dl_light.h84 行定义.

◆ SetPosition()

void dl::LightDot::SetPosition ( const Position3 & p)
inline

设置位置

在文件 dl_light.h76 行定义.

◆ SetStrength()

void dl::LightDot::SetStrength ( const Position3 & s)
inline

设置强度

在文件 dl_light.h68 行定义.

友元及相关符号说明

◆ VK

friend class VK
friend

在文件 dl_light.h61 行定义.


该类的文档由以下文件生成: