Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.BuildEngine.ImportModelCommand Class Referenceabstract
Inheritance diagram for SiliconStudio.BuildEngine.ImportModelCommand:
SiliconStudio.BuildEngine.SingleFileImportCommand SiliconStudio.BuildEngine.IndexFileCommand SiliconStudio.BuildEngine.Command SiliconStudio.BuildEngine.ImportAssimpCommand SiliconStudio.BuildEngine.ImportFbxCommand

Public Member Functions

override IEnumerable< ObjectUrlGetInputFiles ()
 Gets the list of input files (that can be deduced without running the command, only from command parameters). More...
 
override string ToString ()
 
- Public Member Functions inherited from SiliconStudio.BuildEngine.IndexFileCommand
override void PreCommand (ICommandContext commandContext)
 
override void PostCommand (ICommandContext commandContext, ResultStatus status)
 
- Public Member Functions inherited from SiliconStudio.BuildEngine.Command
Task< ResultStatusDoCommand (ICommandContext commandContext)
 The method that indirectly call DoCommandOverride to execute the actual command code. It is called by the current Builder when the command is triggered More...
 
Command Clone ()
 
virtual bool ShouldForceExecution ()
 Check some conditions that determine if the command should be executed. This method may not be called if some previous check determinated that it already needs to be executed. More...
 
virtual bool ShouldSpawnNewProcess ()
 
virtual void Cancel ()
 Callback called by Builder.CancelBuild. It can be useful for commands in a blocking call that can be unblocked from here. More...
 
void ComputeCommandHash (Stream stream, IPrepareContext prepareContext)
 

Public Attributes

Dictionary< string,
ParameterCollectionData
Parameters
 

Protected Member Functions

 ImportModelCommand ()
 
override async Task< ResultStatusDoCommandOverride (ICommandContext commandContext)
 The method to override containing the actual command code. It is called by the DoCommand function More...
 
abstract ModelData LoadModel (ICommandContext commandContext, AssetManager assetManager)
 
abstract AnimationClip LoadAnimation (ICommandContext commandContext, AssetManager assetManager)
 
override void ComputeParameterHash (BinarySerializationWriter writer)
 
- Protected Member Functions inherited from SiliconStudio.BuildEngine.Command
void ComputeInputFilesHash (BinarySerializationWriter writer, IPrepareContext prepareContext)
 
virtual void ComputeAssemblyHash (BinarySerializationWriter writer)
 
TagSymbol RegisterTag (string name, Func< string > getValue)
 

Static Protected Member Functions

static ShaderSource ParseShaderSource (string shaderSource)
 Parses a shader source definition More...
 

Protected Attributes

TagSymbol TextureTagSymbol
 
- Protected Attributes inherited from SiliconStudio.BuildEngine.Command
const int CommandCacheVersion = 1
 The command cache version, should be bumped when binary serialization format changes (so that cache gets invalidated) More...
 

Properties

override IEnumerable< Tuple
< string, string > > 
TagList [get]
 
string TextureTag [get, set]
 
string ExportType [get, set]
 
bool TessellationAEN [get, set]
 
string EffectName [get, set]
 
AnimationRepeatMode AnimationRepeatMode [get, set]
 
Dictionary< string, Tuple
< Guid, string > > 
Materials [get, set]
 
Dictionary< string, Tuple
< Guid, string > > 
Lightings [get, set]
 
bool Compact [get, set]
 
List< string > PreservedNodes [get, set]
 
bool Allow32BitIndex [get, set]
 
bool AllowUnsignedBlendIndices [get, set]
 
Vector3 ViewDirectionForTransparentZSort [get, set]
 
- Properties inherited from SiliconStudio.BuildEngine.SingleFileImportCommand
UFile SourcePath [get, set]
 Gets or sets the source path of the raw asset. More...
 
UFile Location [get, set]
 Gets or sets the destination location in the storage. More...
 
- Properties inherited from SiliconStudio.BuildEngine.Command
abstract string Title [get]
 Title (short description) of the command More...
 
virtual IEnumerable< Tuple
< string, string > > 
TagList [get]
 List every tag created by the command. The first item of each entry is the TagSymbol.Name of the TagSymbol, The second item is the pattern or a description of the TagSymbol.RealName More...
 

Additional Inherited Members

- Static Public Member Functions inherited from SiliconStudio.BuildEngine.IndexFileCommand
static void MergeOutputObjects (IDictionary< ObjectUrl, OutputObject > outputObjects)
 
static void MountDatabases (ICommandContext commandContext)
 
static DatabaseFileProvider GetCommonDatabase ()
 
- Static Public Attributes inherited from SiliconStudio.BuildEngine.IndexFileCommand
static MicroThreadLocal
< DatabaseFileProvider
DatabaseFileProvider
 

Detailed Description

Definition at line 22 of file ImportModelCommand.cs.

Constructor & Destructor Documentation

SiliconStudio.BuildEngine.ImportModelCommand.ImportModelCommand ( )
protected

Definition at line 50 of file ImportModelCommand.cs.

Member Function Documentation

override void SiliconStudio.BuildEngine.ImportModelCommand.ComputeParameterHash ( BinarySerializationWriter  writer)
protectedvirtual

Reimplemented from SiliconStudio.BuildEngine.SingleFileImportCommand.

Definition at line 526 of file ImportModelCommand.cs.

override async Task<ResultStatus> SiliconStudio.BuildEngine.ImportModelCommand.DoCommandOverride ( ICommandContext  commandContext)
protectedvirtual

The method to override containing the actual command code. It is called by the DoCommand function

Parameters
commandContext

Implements SiliconStudio.BuildEngine.Command.

Definition at line 67 of file ImportModelCommand.cs.

References SiliconStudio.Paradox.Effects.LightingKeys.LightingConfigurations.

override IEnumerable<ObjectUrl> SiliconStudio.BuildEngine.ImportModelCommand.GetInputFiles ( )
virtual

Gets the list of input files (that can be deduced without running the command, only from command parameters).

Returns

Reimplemented from SiliconStudio.BuildEngine.Command.

Definition at line 533 of file ImportModelCommand.cs.

abstract AnimationClip SiliconStudio.BuildEngine.ImportModelCommand.LoadAnimation ( ICommandContext  commandContext,
AssetManager  assetManager 
)
protectedpure virtual
abstract ModelData SiliconStudio.BuildEngine.ImportModelCommand.LoadModel ( ICommandContext  commandContext,
AssetManager  assetManager 
)
protectedpure virtual
static ShaderSource SiliconStudio.BuildEngine.ImportModelCommand.ParseShaderSource ( string  shaderSource)
staticprotected

Parses a shader source definition

Parameters
shaderSourceThe shader source.
Returns
an instance of ShaderSource.

Definition at line 543 of file ImportModelCommand.cs.

override string SiliconStudio.BuildEngine.ImportModelCommand.ToString ( )
virtual

Implements SiliconStudio.BuildEngine.Command.

Definition at line 658 of file ImportModelCommand.cs.

Member Data Documentation

Dictionary<string, ParameterCollectionData> SiliconStudio.BuildEngine.ImportModelCommand.Parameters

Definition at line 41 of file ImportModelCommand.cs.

TagSymbol SiliconStudio.BuildEngine.ImportModelCommand.TextureTagSymbol
protected

Definition at line 30 of file ImportModelCommand.cs.

Property Documentation

bool SiliconStudio.BuildEngine.ImportModelCommand.Allow32BitIndex
getset

Definition at line 46 of file ImportModelCommand.cs.

bool SiliconStudio.BuildEngine.ImportModelCommand.AllowUnsignedBlendIndices
getset

Definition at line 47 of file ImportModelCommand.cs.

AnimationRepeatMode SiliconStudio.BuildEngine.ImportModelCommand.AnimationRepeatMode
getset

Definition at line 37 of file ImportModelCommand.cs.

bool SiliconStudio.BuildEngine.ImportModelCommand.Compact
getset

Definition at line 43 of file ImportModelCommand.cs.

string SiliconStudio.BuildEngine.ImportModelCommand.EffectName
getset

Definition at line 36 of file ImportModelCommand.cs.

string SiliconStudio.BuildEngine.ImportModelCommand.ExportType
getset

Definition at line 34 of file ImportModelCommand.cs.

Dictionary<string, Tuple<Guid, string> > SiliconStudio.BuildEngine.ImportModelCommand.Lightings
getset

Definition at line 40 of file ImportModelCommand.cs.

Dictionary<string, Tuple<Guid, string> > SiliconStudio.BuildEngine.ImportModelCommand.Materials
getset

Definition at line 39 of file ImportModelCommand.cs.

List<string> SiliconStudio.BuildEngine.ImportModelCommand.PreservedNodes
getset

Definition at line 44 of file ImportModelCommand.cs.

override IEnumerable<Tuple<string, string> > SiliconStudio.BuildEngine.ImportModelCommand.TagList
get

Definition at line 27 of file ImportModelCommand.cs.

bool SiliconStudio.BuildEngine.ImportModelCommand.TessellationAEN
getset

Definition at line 35 of file ImportModelCommand.cs.

string SiliconStudio.BuildEngine.ImportModelCommand.TextureTag
getset

Definition at line 32 of file ImportModelCommand.cs.

Vector3 SiliconStudio.BuildEngine.ImportModelCommand.ViewDirectionForTransparentZSort
getset

Definition at line 48 of file ImportModelCommand.cs.


The documentation for this class was generated from the following file: