Пример #1
0
        protected void AcceptGeometryBase(FbxGeometryBase obj, ISet <object> visitedObjects)
        {
            AcceptLayerContainer(obj, visitedObjects);
            Visit(obj);

            // TODO: geometry elements
        }
Пример #2
0
        protected void PrintFbxGeometryBase(FbxGeometryBase obj, TextWriter writer)
        {
            _PrintFbxGeometryBase(obj, writer);

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

            _AcceptFbxGeometryBase(obj, visitedObjects);

            if (obj is FbxGeometry)
            {
                AcceptFbxGeometry((FbxGeometry)obj, visitedObjects);
            }
        }
Пример #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);
            }
        }
Пример #5
0
 public virtual void Visit(FbxGeometryBase obj)
 {
 }
Пример #6
0
 protected void _AcceptFbxGeometryBase(FbxGeometryBase obj, ISet <object> visitedObjects)
 {
     // TODO: geometry elements
 }