4 using System.Collections.Generic;
5 using System.Diagnostics;
6 using SiliconStudio.Core;
7 using SiliconStudio.Core.IO;
9 namespace SiliconStudio.Assets
14 [DataContract(
"AssetFolder")]
15 [DebuggerDisplay(
"{Path} RawImports [{RawImports.Count}]")]
19 private readonly List<RawImport> rawImports;
26 rawImports =
new List<RawImport>();
35 if (path == null)
throw new ArgumentNullException(
"path");
51 if (value == null)
throw new ArgumentNullException();
60 public List<RawImport> RawImports
73 sourceFolder.Path = path;
75 sourceFolder.RawImports.AddRange(RawImports);
A location relative to a package from where assets will be loaded
Defines a normalized directory path. See UPath for details. This class cannot be inherited.
AssetFolder(UDirectory path)
Initializes a new instance of the AssetFolder class.
AssetFolder()
Initializes a new instance of the AssetFolder class.