public static void U3DLoadOption() { // ExStart:U3DLoadOption // The path to the documents directory. string MyDir = RunExamples.GetDataDir(); // Initialize an object U3DLoadOptions loadU3DOpts = new U3DLoadOptions(); // Flip the coordinate system. loadU3DOpts.FlipCoordinateSystem = true; // Configure the look up paths to allow importer to find external dependencies. loadU3DOpts.LookupPaths = new List<string>(new string[] { MyDir }); // ExEnd:U3DLoadOption }
public static void U3DLoadOption() { // ExStart:U3DLoadOption // The path to the documents directory. string dataDir = RunExamples.GetDataDir(); // Initialize an object U3DLoadOptions loadU3DOpts = new U3DLoadOptions(); // Flip the coordinate system. loadU3DOpts.FlipCoordinateSystem = true; // Configure the look up paths to allow importer to find external dependencies. loadU3DOpts.LookupPaths = new List <string>(new string[] { dataDir }); // ExEnd:U3DLoadOption }