载入中...
搜索中...
未找到
eve::daynight::SkyCloudMotion结构体 参考

Source cloud-time controls; phase is additive, speed is source time per injected second. 更多...

#include <SkyRuntime.h>

Public 成员函数

EVENGINE_API_WORLD Result< void > validate () const
 Reject nonfinite values, phase outside +/-1e6 and multipliers outside [0,1000].
 

Public 属性

double phase = 0
 
double speed = 0
 
double timeScale = 1
 
double windMultiplier = 1
 

详细描述

Source cloud-time controls; phase is additive, speed is source time per injected second.

Weather wind multiplier is explicit; windXZ metre travel is a separate simulation quantity.

在文件 SkyRuntime.h 第 15 行定义.

成员函数说明

◆ validate()

Result< void > eve::daynight::SkyCloudMotion::validate ( ) const

Reject nonfinite values, phase outside +/-1e6 and multipliers outside [0,1000].

在文件 SkyRuntime.cpp 第 31 行定义.

引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, phase, speed, eve::Result< T >::success(), timeScale, value , 以及 windMultiplier.

类成员变量说明

◆ phase

double eve::daynight::SkyCloudMotion::phase = 0

在文件 SkyRuntime.h 第 16 行定义.

被这些函数引用 eve::daynight::SkyRuntime::Impl::cloudSample() , 以及 validate().

◆ speed

double eve::daynight::SkyCloudMotion::speed = 0

在文件 SkyRuntime.h 第 16 行定义.

被这些函数引用 eve::daynight::SkyRuntime::Impl::cloudSample() , 以及 validate().

◆ timeScale

double eve::daynight::SkyCloudMotion::timeScale = 1

在文件 SkyRuntime.h 第 16 行定义.

被这些函数引用 eve::daynight::SkyRuntime::Impl::cloudSample() , 以及 validate().

◆ windMultiplier

double eve::daynight::SkyCloudMotion::windMultiplier = 1

在文件 SkyRuntime.h 第 16 行定义.

被这些函数引用 eve::daynight::SkyRuntime::Impl::cloudSample() , 以及 validate().


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