目录

HMS_SpatialRecon_ModelWriteInfo

typedef struct HMS_SpatialRecon_ModelWriteInfo {...} HMS_SpatialRecon_ModelWriteInfo

Overview

This struct is used for writing spatial reconstruction model data.

Since: 6.1.0(23)

Related module: SpatialRecon

Header file: spatial_recon_interface.h

Summary

[h2]Member Variables

Name Description
float longitude = 0.0 Longitude coordinate in decimal degrees used for geolocation reference. Positive values indicate east longitude, and negative values indicate west longitude. The value range is [-180, 180].
float latitude = 0.0 Latitude coordinate in decimal degrees used for geolocation reference. Positive values indicate north latitude, and negative values indicate south latitude. The value range is [-90, 90].
const char *audioFile = nullptr Optional audio file path associated with spatial reconstruction. The file must have a .mp3 extension. You can set it to nullptr if no audio data is available or audio is not required.
const char* modelFile Output file name of the spatial reconstruction model. This parameter is mandatory. This directory must be a subdirectory of the app file directory.
HMS_SpatialReconOutputFormat modelFormat Output format of the spatial reconstruction model, specifying the file format and structure of the generated model.