SpatialAudioZone
- Flutter
更新时间
隔声区域的设置。
class SpatialAudioZone {
const SpatialAudioZone(
{this.zoneSetId,
this.position,
this.forward,
this.right,
this.up,
this.forwardLength,
this.rightLength,
this.upLength,
this.audioAttenuation});
@JsonKey(name: 'zoneSetId')
final int? zoneSetId;
@JsonKey(name: 'position')
final List<double>? position;
@JsonKey(name: 'forward')
final List<double>? forward;
@JsonKey(name: 'right')
final List<double>? right;
@JsonKey(name: 'up')
final List<double>? up;
@JsonKey(name: 'forwardLength')
final double? forwardLength;
@JsonKey(name: 'rightLength')
final double? rightLength;
@JsonKey(name: 'upLength')
final double? upLength;
@JsonKey(name: 'audioAttenuation')
final double? audioAttenuation;
factory SpatialAudioZone.fromJson(Map<String, dynamic> json) =>
_$SpatialAudioZoneFromJson(json);
Map<String, dynamic> toJson() => _$SpatialAudioZoneToJson(this);
}