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); } }
protected void AcceptFbxGeometryBase(FbxGeometryBase obj, ISet <object> visitedObjects = null) { Visit(obj); _AcceptFbxGeometryBase(obj, visitedObjects); if (obj is FbxGeometry) { AcceptFbxGeometry((FbxGeometry)obj, visitedObjects); } }
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); } }
public virtual void Visit(FbxGeometryBase obj) { }
protected void _AcceptFbxGeometryBase(FbxGeometryBase obj, ISet <object> visitedObjects) { // TODO: geometry elements }