forked from izrik/FbxSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFbxLayerContainer.cs
59 lines (48 loc) · 1.56 KB
/
FbxLayerContainer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
using System;
using System.Collections.Generic;
namespace FbxSharp
{
public abstract class FbxLayerContainer : FbxNodeAttribute
{
protected FbxLayerContainer(string name="")
: base(name)
{
Layers = new CollectionView<FbxLayer, FbxLayer>(layers, eh => layers.CollectionChanged += eh);
}
readonly ChangeNotifyList<FbxLayer> layers = new ChangeNotifyList<FbxLayer>();
public readonly CollectionView<FbxLayer, FbxLayer> Layers;
public int CreateLayer()
{
layers.Add(new FbxLayer());
return layers.Count - 1;
}
public void ClearLayers()
{
throw new NotImplementedException();
}
public int GetLayerCount()
{
return layers.Count;
}
public int GetLayerCount(FbxLayerElement.EType pType, bool pUVCount = false)
{
throw new NotImplementedException();
}
public FbxLayer GetLayer(int pIndex)
{
return layers[pIndex];
}
public FbxLayer GetLayer(int pIndex, FbxLayerElement.EType pType, bool pIsUV = false)
{
throw new NotImplementedException();
}
public int GetLayerIndex(int pIndex, FbxLayerElement.EType pType, bool pIsUV = false)
{
throw new NotImplementedException();
}
public int GetLayerTypedIndex(int pGlobalIndex, FbxLayerElement.EType pType, bool pIsUV = false)
{
throw new NotImplementedException();
}
}
}