🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::AstGfxAPI类 参考

#include <AstGfxAPI.hpp>

Public 成员函数

bool initialize ()
 
int run ()
 
void update (double deltaTime)
 
GfxMaingetGfxMain ()
 
GfxSolarSystemgetSolarSystem ()
 
void setBackgroundColor (float r, float g, float b, float a)
 

静态 Public 成员函数

static AstGfxAPIinstance ()
 

详细描述

可视化API类

成员函数说明

◆ setBackgroundColor()

void ast::AstGfxAPI::setBackgroundColor ( float r,
float g,
float b,
float a )

设置场景背景颜色

参数
r红色分量(0.0-1.0)
g绿色分量(0.0-1.0)
b蓝色分量(0.0-1.0)
a透明度分量(0.0-1.0)

◆ update()

void ast::AstGfxAPI::update ( double deltaTime)

更新可视化系统

参数
deltaTime时间增量(秒)

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