FBX C++ API Reference
Main Page
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
+
Typedefs
b
c
d
e
g
h
i
k
l
o
p
r
s
u
v
+
Enumerations
b
e
+
Enumerator
b
e
m
v
+
Related Functions
f
i
o
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
x
+
Functions
a
c
d
f
g
i
m
o
p
r
t
u
+
Variables
c
f
g
m
n
t
v
+
Typedefs
c
f
n
p
s
t
x
Enumerations
+
Enumerator
e
f
k
+
Macros
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
x
Examples
▼
FBX C++ API Reference
FBX SDK Reference
►
Classes
►
Files
►
Examples
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Common/AnimationUtility.cxx
/****************************************************************************************
Copyright (C) 2015 Autodesk, Inc.
All rights reserved.
Use of this software is subject to the terms of the Autodesk license agreement
provided at the time of installation or download, or which otherwise accompanies
this software in either electronic or hard copy form.
****************************************************************************************/
#include "AnimationUtility.h"
FbxAnimLayer
* CreateDefaultAnimStackAndLayer(
FbxScene
* pScene,
FbxAnimStack
* &pAnimStack)
{
const
char
* DEFAULT_STACK_NAME =
"Base_Stack"
;
const
char
* DEFAULT_LAYER_NAME =
"Base_Layer"
;
// Create one animation stack
pAnimStack =
FbxAnimStack::Create
(pScene, DEFAULT_STACK_NAME);
// all animation stacks need, at least, one layer.
FbxAnimLayer
* lAnimLayer =
FbxAnimLayer::Create
(pScene, DEFAULT_LAYER_NAME);
pAnimStack->
AddMember
(lAnimLayer);
return
lAnimLayer;
}
Generated by
1.8.13