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

An asset item part of a Package accessible through Package.Assets. More...

Inheritance diagram for SiliconStudio.Assets.AssetBase:
SiliconStudio.Core.Serialization.IContentReference

Classes

class  Serializer
 

Public Member Functions

 AssetBase (Asset asset)
 Initializes a new instance of the AssetBase class. More...
 
 AssetBase (UFile location, Asset asset)
 Initializes a new instance of the AssetItem class. More...
 
override string ToString ()
 

Static Public Attributes

static readonly UFile DefaultImportBase = new UFile("--import--")
 The location used for the default import base. More...
 

Properties

string Location [get]
 Gets the location of this asset. More...
 
Guid Id [get]
 Gets the asset unique identifier. More...
 
Asset Asset [get]
 Gets or sets the asset. More...
 
bool IsRootImport [get]
 Gets a value indicating whether this instance is a root import base (the original import). More...
 
- Properties inherited from SiliconStudio.Core.Serialization.IContentReference
Guid Id [get]
 Gets the asset unique identifier. More...
 
string Location [get]
 Gets the location. More...
 

Detailed Description

An asset item part of a Package accessible through Package.Assets.

Definition at line 16 of file AssetBase.cs.

Constructor & Destructor Documentation

SiliconStudio.Assets.AssetBase.AssetBase ( Asset  asset)

Initializes a new instance of the AssetBase class.

Parameters
assetThe asset.

Definition at line 30 of file AssetBase.cs.

SiliconStudio.Assets.AssetBase.AssetBase ( UFile  location,
Asset  asset 
)

Initializes a new instance of the AssetItem class.

Parameters
locationThe location.
assetThe asset.

Definition at line 39 of file AssetBase.cs.

Member Function Documentation

override string SiliconStudio.Assets.AssetBase.ToString ( )

Definition at line 95 of file AssetBase.cs.

Member Data Documentation

readonly UFile SiliconStudio.Assets.AssetBase.DefaultImportBase = new UFile("--import--")
static

The location used for the default import base.

Definition at line 24 of file AssetBase.cs.

Property Documentation

Asset SiliconStudio.Assets.AssetBase.Asset
get

Gets or sets the asset.

The asset.

Definition at line 76 of file AssetBase.cs.

Guid SiliconStudio.Assets.AssetBase.Id
get

Gets the asset unique identifier.

The identifier.

Definition at line 64 of file AssetBase.cs.

bool SiliconStudio.Assets.AssetBase.IsRootImport
get

Gets a value indicating whether this instance is a root import base (the original import).

true if this instance is an import base; otherwise, false.

Definition at line 88 of file AssetBase.cs.

Referenced by SiliconStudio.Assets.AssetItem.FindBase().

string SiliconStudio.Assets.AssetBase.Location
get

Gets the location of this asset.

The location.

Definition at line 52 of file AssetBase.cs.


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