FBX C++ API Reference
fbxaudio.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2017 Autodesk, Inc.
4  All rights reserved.
5 
6  Use of this software is subject to the terms of the Autodesk license agreement
7  provided at the time of installation or download, or which otherwise accompanies
8  this software in either electronic or hard copy form.
9 
10 ****************************************************************************************/
11 
13 #ifndef _FBXSDK_SCENE_AUDIO_H_
14 #define _FBXSDK_SCENE_AUDIO_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
19 
20 #include <fbxsdk/fbxsdk_nsbegin.h>
21 
26 {
28 
29 public:
40  static FbxAudio* Create(FbxScene* pContainer, const char* pName);
42 
46  void Reset();
49 
54 
57 
60 
63 
66 
74 
82  FbxProperty Volume();
84 /*****************************************************************************************************************************
85 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
86 *****************************************************************************************************************************/
87 #ifndef DOXYGEN_SHOULD_SKIP_THIS
88 private:
89  void InitializeAnimFX();
90 
91 protected:
92  virtual void Construct(const FbxObject* pFrom);
93  virtual void ConstructProperties(bool pForceSet);
94 
95 public:
96  virtual FbxObject& Copy(const FbxObject& pObject);
97 
98 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
99 };
100 
101 #include <fbxsdk/fbxsdk_nsend.h>
102 
103 #endif /* _FBXSDK_SCENE_AUDIO_H_ */
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
Definition: fbxobject.h:61
FBX SDK environment definition.
virtual void Reset()
Reset the clip to default values.
virtual FbxObject & Copy(const FbxObject &pObject)
Copy an object content into this object.
FbxPropertyT< FbxInt > SampleRate
Audio file sample rate value (Hz).
Definition: fbxaudio.h:59
static FbxMediaClip * Create(FbxManager *pManager, const char *pName)
FbxPropertyT< FbxInt > BitRate
Audio file bit rate value (bit/s).
Definition: fbxaudio.h:56
FBX SDK audio class.
Definition: fbxaudio.h:25
The base class of most FBX objects.
Definition: fbxobject.h:157
FBX SDK media clip class.
Definition: fbxmediaclip.h:25
This class contains the description of a 3D scene.
Definition: fbxscene.h:61
virtual void Construct(const FbxObject *pFrom)
Optional constructor override, automatically called by default constructor.
Class to hold user properties.
Definition: fbxproperty.h:37
#define FBXSDK_DLL
Definition: fbxarch.h:173
FbxPropertyT< FbxUChar > Channels
Audio file number of channels.
Definition: fbxaudio.h:62
FbxProperty AnimFX
Compound property to be used if animation data needs to be connected.
Definition: fbxaudio.h:72
FbxPropertyT< FbxTime > Duration
Audio file length.
Definition: fbxaudio.h:65
virtual void ConstructProperties(bool pForceSet)
Optional property constructor override, automatically called by default constructor.