Blender
V4.5
source
blender
io
collada
AnimationClipExporter.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
5
#pragma once
6
7
#include <cstdlib>
8
9
#include "COLLADASWLibraryAnimationClips.h"
10
#include "
DEG_depsgraph.hh
"
11
#include "
ExportSettings.h
"
12
13
class
AnimationClipExporter
: COLLADASW::LibraryAnimationClips {
14
private
:
15
Depsgraph *depsgraph;
16
Scene
*scene =
nullptr
;
17
COLLADASW::StreamWriter *sw;
18
BCExportSettings &export_settings;
19
std::vector<std::vector<std::string>> anim_meta;
20
21
public
:
22
AnimationClipExporter
(Depsgraph *depsgraph,
23
COLLADASW::StreamWriter *sw,
24
BCExportSettings &export_settings,
25
std::vector<std::vector<std::string>> anim_meta)
26
: COLLADASW::LibraryAnimationClips(sw),
27
depsgraph(depsgraph),
28
sw(sw),
29
export_settings(export_settings),
30
anim_meta(anim_meta)
31
{
32
}
33
34
void
exportAnimationClips
(
Scene
*sce);
35
};
DEG_depsgraph.hh
ExportSettings.h
AnimationClipExporter::exportAnimationClips
void exportAnimationClips(Scene *sce)
Definition
AnimationClipExporter.cpp:7
AnimationClipExporter::AnimationClipExporter
AnimationClipExporter(Depsgraph *depsgraph, COLLADASW::StreamWriter *sw, BCExportSettings &export_settings, std::vector< std::vector< std::string > > anim_meta)
Definition
AnimationClipExporter.h:22
Scene
Definition
DNA_scene_types.h:2106
Generated on
for Blender by
doxygen
1.16.1