Blender V4.3
DNA_speaker_defaults.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11/* clang-format off */
12
13/* -------------------------------------------------------------------- */
17#define _DNA_DEFAULT_Speaker \
18 { \
19 .attenuation = 1.0f, \
20 .cone_angle_inner = 360.0f, \
21 .cone_angle_outer = 360.0f, \
22 .cone_volume_outer = 1.0f, \
23 .distance_max = FLT_MAX, \
24 .distance_reference = 1.0f, \
25 .flag = 0, \
26 .pitch = 1.0f, \
27 .sound = NULL, \
28 .volume = 1.0f, \
29 .volume_max = 1.0f, \
30 .volume_min = 0.0f, \
31 }
32
35/* clang-format on */