typedef struct OH_CartesianPosition {...} OH_CartesianPosition Represents the position of an object sound source in the Cartesian coordinate system. The Cartesian coordinate system uses the x, y, and z axes to define positions in three-dimensional space.
Since: 26.0.0
Related module: Core
File to include: native_audio_vivid.h
| Name | Description |
|---|---|
| float x | Normalized X coordinate of the object sound source in the Cartesian coordinate system, representing the left/right dimension. Value range: [-1.0, 1.0]. |
| float y | Normalized Y coordinate of the object sound source in the Cartesian coordinate system, representing the front/back dimension. Value range: [-1.0, 1.0]. |
| float z | Normalized Z coordinate of the object sound source in the Cartesian coordinate system, representing the up/down dimension. Value range: [-1.0, 1.0]. |