Exemple #1
0
        protected void AcceptGeometryBase(FbxGeometryBase obj, ISet <object> visitedObjects)
        {
            AcceptLayerContainer(obj, visitedObjects);
            Visit(obj);

            // TODO: geometry elements
        }
        protected void PrintFbxGeometryBase(FbxGeometryBase obj, TextWriter writer)
        {
            _PrintFbxGeometryBase(obj, writer);

            if (obj is FbxGeometry)
            {
                PrintFbxGeometry((FbxGeometry)obj, writer);
            }
        }
Exemple #3
0
        protected void AcceptFbxGeometryBase(FbxGeometryBase obj, ISet <object> visitedObjects = null)
        {
            Visit(obj);

            _AcceptFbxGeometryBase(obj, visitedObjects);

            if (obj is FbxGeometry)
            {
                AcceptFbxGeometry((FbxGeometry)obj, visitedObjects);
            }
        }
Exemple #4
0
        protected void _PrintFbxGeometryBase(FbxGeometryBase obj, TextWriter writer)
        {
            int i;

            writer.WriteLine("    ControlPointsCount = {0}", obj.GetControlPointsCount());
            for (i = 0; i < obj.GetControlPointsCount(); i++)
            {
                FbxVector4 cp = obj.GetControlPointAt(i);
                writer.WriteLine("        #{0} {1}, {2}, {3}, {4}", i, cp.X, cp.Y, cp.Z, cp.W);
            }
        }
Exemple #5
0
 public virtual void Visit(FbxGeometryBase obj)
 {
 }
Exemple #6
0
 protected void _AcceptFbxGeometryBase(FbxGeometryBase obj, ISet <object> visitedObjects)
 {
     // TODO: geometry elements
 }