コード例 #1
0
ファイル: AssetItem.cs プロジェクト: cybtachyon/xenko
 /// <summary>
 /// Creates a child asset that is inheriting the values of this asset.
 /// </summary>
 /// <returns>A new asset inheriting the values of this asset.</returns>
 public Asset CreateDerivedAsset()
 {
     return(Asset.CreateDerivedAsset(Location));
 }
コード例 #2
0
ファイル: AssetItem.cs プロジェクト: Kryptos-FR/xenko-archive
        /// <summary>
        /// Creates a child asset that is inheriting the values of this asset.
        /// </summary>
        /// <returns>A new asset inheriting the values of this asset.</returns>
        public Asset CreateDerivedAsset()
        {
            Dictionary <Guid, Guid> idRemapping;

            return(Asset.CreateDerivedAsset(Location, out idRemapping));
        }