Blender V4.3
DNA_speaker_types.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#include "DNA_ID.h"
12
13struct AnimData;
14struct bSound;
15
16typedef struct Speaker {
19 struct AnimData *adt;
20
21 struct bSound *sound;
22
23 /* not animatable properties */
32
33 /* animatable properties */
34 float volume;
35 float pitch;
36
37 /* flag */
38 short flag;
39 char _pad1[6];
41
42/* **************** SPEAKER ********************* */
43
45enum {
46 SPK_DS_EXPAND = 1 << 0,
47 SPK_MUTED = 1 << 1,
48 // SPK_RELATIVE = 1 << 2, /* UNUSED */
49};
ID and Library types, which are fundamental for SDNA.
struct Speaker Speaker
@ SPK_MUTED
@ SPK_DS_EXPAND
Definition DNA_ID.h:413
float cone_angle_outer
float distance_reference
struct AnimData * adt
float cone_volume_outer
float distance_max
float attenuation
char _pad1[6]
struct bSound * sound
float cone_angle_inner