Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Assets.AssetImporterParameters Class Reference

Parameters used by IAssetImporter.Import More...

Public Member Functions

 AssetImporterParameters ()
 Initializes a new instance of the AssetImporterParameters class. More...
 
 AssetImporterParameters (params Type[] supportedTypes)
 Initializes a new instance of the AssetImporterParameters class. More...
 
 AssetImporterParameters (IEnumerable< Type > supportedTypes)
 Initializes a new instance of the AssetImporterParameters class. More...
 
bool IsTypeSelectedForOutput< T > ()
 Determines whether the specified type is type selected for output by this importer. More...
 
bool IsTypeSelectedForOutput (Type type)
 Determines whether the specified type is type selected for output by this importer. More...
 

Properties

Logger Logger [get, set]
 Gets or sets the logger to use during the import. More...
 
Dictionary< Type, bool > SelectedOutputTypes [get, set]
 Gets the selected output types. More...
 
bool HasSelectedOutputTypes [get]
 Gets a value indicating whether this instance has valid selected output types. More...
 

Detailed Description

Parameters used by IAssetImporter.Import

Definition at line 15 of file AssetImporterParameters.cs.

Constructor & Destructor Documentation

SiliconStudio.Assets.AssetImporterParameters.AssetImporterParameters ( )

Initializes a new instance of the AssetImporterParameters class.

Definition at line 25 of file AssetImporterParameters.cs.

SiliconStudio.Assets.AssetImporterParameters.AssetImporterParameters ( params Type[]  supportedTypes)

Initializes a new instance of the AssetImporterParameters class.

Parameters
supportedTypesThe supported types.

Definition at line 34 of file AssetImporterParameters.cs.

SiliconStudio.Assets.AssetImporterParameters.AssetImporterParameters ( IEnumerable< Type >  supportedTypes)

Initializes a new instance of the AssetImporterParameters class.

Parameters
supportedTypesThe supported types.
Exceptions
System.ArgumentNullExceptionsupportedTypes
System.ArgumentExceptionInvalid type [{0}]. Type must be assignable to Asset.ToFormat(type);supportedTypes

Definition at line 44 of file AssetImporterParameters.cs.

Member Function Documentation

bool SiliconStudio.Assets.AssetImporterParameters.IsTypeSelectedForOutput ( Type  type)

Determines whether the specified type is type selected for output by this importer.

Parameters
typeThe type.
Returns
true if the specified type is type selected for output by this importer; otherwise, false.

Definition at line 78 of file AssetImporterParameters.cs.

Referenced by SiliconStudio.Paradox.Assets.Model.ModelAssetImporter.Import().

Determines whether the specified type is type selected for output by this importer.

Template Parameters
TA Type asset
Returns
true if the specified type is type selected for output by this importer; otherwise, false.
Type Constraints
T :Asset 

Definition at line 68 of file AssetImporterParameters.cs.

Property Documentation

bool SiliconStudio.Assets.AssetImporterParameters.HasSelectedOutputTypes
get

Gets a value indicating whether this instance has valid selected output types.

true if this instance has selected output types; otherwise, false.

Definition at line 93 of file AssetImporterParameters.cs.

Logger SiliconStudio.Assets.AssetImporterParameters.Logger
getset

Gets or sets the logger to use during the import.

Definition at line 20 of file AssetImporterParameters.cs.

Referenced by SiliconStudio.Paradox.Assets.Model.ModelAssetImporter.Import().

Dictionary<Type, bool> SiliconStudio.Assets.AssetImporterParameters.SelectedOutputTypes
getset

Gets the selected output types.

The selected output types.

Definition at line 61 of file AssetImporterParameters.cs.


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