Overte C++ Documentation
FBXWriter.h
1 //
2 // FBXWriter.h
3 // libraries/model-serializers/src
4 //
5 // Created by Ryan Huffman on 9/5/17.
6 // Copyright 2017 High Fidelity, Inc.
7 //
8 // Distributed under the Apache License, Version 2.0.
9 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
10 //
11 
12 #ifndef hifi_FBXWriter_h
13 #define hifi_FBXWriter_h
14 
15 #include "FBX.h"
16 
17 #include <QByteArray>
18 #include <QDataStream>
19 
20 //#define USE_FBX_2016_FORMAT
21 
22 class FBXWriter {
23 public:
24  static QByteArray encodeFBX(const FBXNode& root);
25 
26  static void encodeNode(QDataStream& out, const FBXNode& node);
27  static void encodeFBXProperty(QDataStream& out, const QVariant& property);
28 };
29 
30 #endif // hifi_FBXWriter_h
A node within an FBX document.
Definition: FBX.h:41