CRI ADX  Last Updated: 2024-07-17 10:47 p
CriAtomEx3dSourceRandomPositionConfigTag Struct Reference

Configuration structure for randomizing 3D sound source position. More...

#include <cri_le_atom_ex.h>

Data Fields

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

Detailed Description

Configuration structure for randomizing 3D sound source position.

Description:
A structure that contains settings related to randomizing the position of 3D sound sources.
Attention
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.)
See also
criAtomEx3dSource_SetRandomPositionConfig, criAtomEx3dSource_SetDefaultConfigForRandomPosition

Field Documentation

◆ 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.
See also
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.
See also
CriAtomEx3dSourceRandomPositionCalculationType

The documentation for this struct was generated from the following file: