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);
}属性
| 参数名 | 描述 |
|---|---|
zoneSetId | |
position | |
forward | |
right | |
up | |
forwardLength | |
rightLength | |
upLength | |
audioAttenuation |