4 using System.ComponentModel;
6 using SiliconStudio.Core.Serialization.Assets;
7 using SiliconStudio.Paradox.DataModel;
8 using SiliconStudio.Paradox.Effects.Data;
10 namespace SiliconStudio.BuildEngine
12 [CommandDependsOn(typeof(
Paradox.Importer.FBX.MeshConverter))]
13 [Description(
"Import FBX")]
17 public override string Title {
get {
string title =
"Import FBX ";
try { title += Path.GetFileName(SourcePath) ??
"[File]"; }
catch { title +=
"[INVALID PATH]"; }
return title; } }
19 public bool InverseNormals {
get; set; }
23 return !String.IsNullOrEmpty(ext) && ext.ToLower().Equals(
".fbx");
28 var meshConverter = this.CreateMeshConverter(commandContext, assetManager);
29 var sceneData = meshConverter.Convert(SourcePath, Location);
35 var meshConverter = this.CreateMeshConverter(commandContext, assetManager);
36 var sceneData = meshConverter.ConvertAnimation(SourcePath, Location);
44 InverseNormals = this.InverseNormals,
45 TextureTagSymbol = this.TextureTagSymbol,
46 ViewDirectionForTransparentZSort = this.ViewDirectionForTransparentZSort,
47 AllowUnsignedBlendIndices = this.AllowUnsignedBlendIndices
58 return "Import FBX " + base.ToString();
override AnimationClip LoadAnimation(ICommandContext commandContext, AssetManager assetManager)
An aggregation of AnimationCurve with their channel names.
override string ToString()
Data type for SiliconStudio.Paradox.Effects.Model.
static bool IsSupportingExtensions(string ext)
override ModelData LoadModel(ICommandContext commandContext, AssetManager assetManager)
override bool ShouldSpawnNewProcess()