载入中...
搜索中...
未找到
eve::weather::PcgInteriorWeatherVolume类 参考

Caller-owned, immutable-after-configuration Pcg interior-weather volume. @ownership This value owns all configuration; Weather copies sampled state and never retains this object. @thread Affine to the caller; configure and sample must not overlap. @reentrancy Does not invoke callbacks. 更多...

#include <PcgInteriorWeatherVolume.h>

Public 成员函数

Result< void > configureBox (float centerX, float centerY, float centerZ, float sizeX, float sizeY, float sizeZ, int mode, int interiorReverbPreset, int exteriorReverbPreset)
 Configure an axis-aligned box atomically. Dimensions must be finite and positive.
 
Result< void > configureSphere (float centerX, float centerY, float centerZ, float radius, int mode, int interiorReverbPreset, int exteriorReverbPreset)
 Configure a sphere atomically. Radius must be finite and positive.
 
bool contains (float x, float y, float z) const noexcept
 Return whether a finite world-space position lies inside, including the boundary.
 
PcgInteriorWeatherShape shape () const noexcept
 Shape.
 
PcgInteriorWeatherMode mode () const noexcept
 Mode.
 
int interiorReverbPreset () const noexcept
 Interior reverb preset.
 
int exteriorReverbPreset () const noexcept
 Exterior reverb preset.
 

详细描述

Caller-owned, immutable-after-configuration Pcg interior-weather volume. @ownership This value owns all configuration; Weather copies sampled state and never retains this object. @thread Affine to the caller; configure and sample must not overlap. @reentrancy Does not invoke callbacks.

在文件 PcgInteriorWeatherVolume.h 第 22 行定义.

成员函数说明

◆ configureBox()

Result< void > eve::weather::PcgInteriorWeatherVolume::configureBox ( float  centerX,
float  centerY,
float  centerZ,
float  sizeX,
float  sizeY,
float  sizeZ,
int  mode,
int  interiorReverbPreset,
int  exteriorReverbPreset 
)

Configure an axis-aligned box atomically. Dimensions must be finite and positive.

在文件 PcgInteriorWeatherVolume.cpp 第 16 行定义.

引用了 eve::weather::Box, eve::Diagnostic::error(), exteriorReverbPreset(), eve::Result< T >::failure(), interiorReverbPreset(), eve::InvalidArgument, mode() , 以及 eve::Result< T >::success().

◆ configureSphere()

Result< void > eve::weather::PcgInteriorWeatherVolume::configureSphere ( float  centerX,
float  centerY,
float  centerZ,
float  radius,
int  mode,
int  interiorReverbPreset,
int  exteriorReverbPreset 
)

◆ contains()

bool eve::weather::PcgInteriorWeatherVolume::contains ( float  x,
float  y,
float  z 
) const
noexcept

Return whether a finite world-space position lies inside, including the boundary.

在文件 PcgInteriorWeatherVolume.cpp 第 55 行定义.

引用了 dx, dy, dz, eve::weather::Sphere, x, y , 以及 z.

◆ exteriorReverbPreset()

int eve::weather::PcgInteriorWeatherVolume::exteriorReverbPreset ( ) const
inlinenoexcept

Exterior reverb preset.

在文件 PcgInteriorWeatherVolume.h 第 44 行定义.

被这些函数引用 configureBox() , 以及 configureSphere().

◆ interiorReverbPreset()

int eve::weather::PcgInteriorWeatherVolume::interiorReverbPreset ( ) const
inlinenoexcept

Interior reverb preset.

在文件 PcgInteriorWeatherVolume.h 第 42 行定义.

被这些函数引用 configureBox() , 以及 configureSphere().

◆ mode()

PcgInteriorWeatherMode eve::weather::PcgInteriorWeatherVolume::mode ( ) const
inlinenoexcept

Mode.

在文件 PcgInteriorWeatherVolume.h 第 40 行定义.

被这些函数引用 configureBox() , 以及 configureSphere().

◆ shape()

PcgInteriorWeatherShape eve::weather::PcgInteriorWeatherVolume::shape ( ) const
inlinenoexcept

Shape.

在文件 PcgInteriorWeatherVolume.h 第 38 行定义.


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