Exemplo n.º 1
0
        public void TestIdentity()
        {
            using (FbxObject obj = FbxObject.Create(m_fbxManager, "")) {
                FbxManager fbxManager2 = obj.GetFbxManager();

                Assert.AreEqual(m_fbxManager, fbxManager2);
            }
        }
Exemplo n.º 2
0
        public override FbxAnimCurve CreateObject(FbxObject container, string name = "")
        {
            if (container == null)
            {
                throw new System.ArgumentNullException();
            }

            if (container is FbxScene)
            {
                /* Probably should have cast to a scene already... but ok. */
                return(FbxAnimCurve.Create((FbxScene)container, name));
            }
            else
            {
                /* This create call doesn't do what you want. Use the manager's scene instead. */
                return(CreateObject(container.GetFbxManager(), name));
            }
        }