版本

menu_open
警告:系统已根据您所用大版本 (2023.1.8.8601) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。
Wwise SDK 2023.1.8
AkRng.h
static constexpr AkUInt32 RANDOM_MAX
Definition: AkRng.h:39
AkUInt64 Seed() const
Returns the current seed value of the RNG
Definition: AkRng.h:47
static constexpr AkUInt64 RANDOM_C
Definition: AkRng.h:38
Definition: AkRng.h:35
float AkReal32
32-bit floating point
int32_t AkInt32
Signed 32-bit integer
static AkInt32 Random(AkUInt64 &io_uSeed)
Returns a random 31-bit unsigned integer using provided seed
Definition: AkRng.h:77
static AkUInt32 Peek(AkUInt64 in_uSeed)
Returns the next random number to be generated without advancing the RNG state
Definition: AkRng.h:91
AkUInt32 Peek() const
Returns the next random number to be generated without advancing the RNG state
Definition: AkRng.h:53
uint64_t AkUInt64
Unsigned 64-bit integer
AkUInt32 Random()
Returns a random 31-bit unsigned integer
Definition: AkRng.h:59
AkInt32 RandomInt()
Returns a random 31-bit integer
Definition: AkRng.h:65
static AkInt32 RandomInt(AkUInt64 &io_uSeed)
Returns a random 31-bit integer using provided seed
Definition: AkRng.h:84
uint32_t AkUInt32
Unsigned 32-bit integer
static constexpr AkUInt64 RANDOM_A
Definition: AkRng.h:37
CAkRng(AkUInt64 uSeed)
Initialize using the specified seed
Definition: AkRng.h:42
AkReal32 RandomFloat()
Returns a random float from 0.0 to 1.0
Definition: AkRng.h:71

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅