CRI ADX  Last Updated: 2024-07-17 10:48 p
CriAtomEx3dSourceRandomPositionConfigTag结构体 参考

Configuration structure for randomizing 3D sound source position 更多...

#include <cri_le_atom_ex.h>

成员变量

CriBool follows_original_source
 Whether to follow the original 3D sound source 更多...
 
CriAtomEx3dSourceRandomPositionCalculationType calculation_type
 How to calculate coordinates 更多...
 
CriFloat32 calculation_parameters [CRIATOMEX3DSOURCE_MAX_RANDOM_POSITION_CALCULATION_PARAMETERS]
 Array of various parameters for how to calculate coordinates 更多...
 

详细描述

Configuration structure for randomizing 3D sound source position

Description:
A structure that contains settings related to randomizing the position of 3D sound sources.
注意
Since the number of members may increase in the future, if you do not use the criAtomEx3dSource_SetDefaultConfigForRandomPosition macro, be sure to clear the structure to zero before using it.
(Be careful not to put undefined values into the structure members.)
参见
criAtomEx3dSource_SetRandomPositionConfig, criAtomEx3dSource_SetDefaultConfigForRandomPosition

结构体成员变量说明

◆ follows_original_source

CriBool follows_original_source

Whether to follow the original 3D sound source

Description:
Sets whether the randomly determined 3D sound source moves in sync with the original 3D sound source.
If CRI_TRUE, it will follow the position and orientation of the 3D sound source.
If CRI_FALSE, it will not follow the 3D sound source and will remain in the position it was in when playback started.

◆ calculation_type

How to calculate coordinates

Description:
Sets the calculation method for determining random coordinates.
See CriAtomEx3dSourceRandomPositionCalculationType for details.
参见
CriAtomEx3dSourceRandomPositionCalculationType

◆ calculation_parameters

Array of various parameters for how to calculate coordinates

Description:
This is the parameter array used for each coordinate calculation method.
The settings for each element in the parameter array for the coordinate calculation method set in calculation_type are as follows.

Each shape is centered on the original 3D sound source.

Remarks:
This parameter is ignored in the coordinate calculation methods below.
参见
CriAtomEx3dSourceRandomPositionCalculationType

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