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

Base class for Asset. More...

Inheritance diagram for SiliconStudio.Assets.Asset:
SiliconStudio.Assets.AssetImport SiliconStudio.Assets.Package SiliconStudio.Assets.SourceCodeAsset SiliconStudio.Paradox.Assets.Effect.EffectLibraryAsset SiliconStudio.Paradox.Assets.Effect.LightingAsset SiliconStudio.Paradox.Assets.ImageGroupAsset SiliconStudio.Paradox.Assets.Materials.MaterialAsset SiliconStudio.Paradox.Assets.Model.EntityAsset SiliconStudio.Paradox.Assets.Physics.ColliderShapeAsset SiliconStudio.Paradox.Assets.SpriteFont.SpriteFontAsset

Public Member Functions

virtual void SetDefaults ()
 Sets the defaults values for this instance More...
 
override string ToString ()
 

Protected Member Functions

 Asset ()
 Initializes a new instance of the Asset class. More...
 

Properties

Guid Id [get, set]
 Gets or sets the unique identifier of this asset. More...
 
int SerializedVersion [get, set]
 Gets or sets the version number for this asset, used internally when migrating assets. More...
 
AssetBase Base [get, set]
 Gets or sets the base. More...
 
int BuildOrder [get, set]
 Gets or sets the build order for this asset. More...
 
TagCollection Tags [get, set]
 Gets the tags for this asset. More...
 

Detailed Description

Base class for Asset.

Definition at line 14 of file Asset.cs.

Constructor & Destructor Documentation

SiliconStudio.Assets.Asset.Asset ( )
protected

Initializes a new instance of the Asset class.

Definition at line 26 of file Asset.cs.

Referenced by SiliconStudio.Assets.Analysis.AssetBaseAnalysis.ValidateAssetBase().

Member Function Documentation

virtual void SiliconStudio.Assets.Asset.SetDefaults ( )
virtual
override string SiliconStudio.Assets.Asset.ToString ( )

Definition at line 97 of file Asset.cs.

Property Documentation

AssetBase SiliconStudio.Assets.Asset.Base
getset

Gets or sets the base.

The base.

Definition at line 69 of file Asset.cs.

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

int SiliconStudio.Assets.Asset.BuildOrder
getset

Gets or sets the build order for this asset.

The build order.

Definition at line 78 of file Asset.cs.

Guid SiliconStudio.Assets.Asset.Id
getset

Gets or sets the unique identifier of this asset.

The identifier.

Exceptions
System.InvalidOperationExceptionCannot change an Asset Object Id once it is locked

Definition at line 40 of file Asset.cs.

Referenced by SiliconStudio.Assets.PackageCollection.Add(), SiliconStudio.Assets.PackageCollection.Contains(), SiliconStudio.Assets.PackageReference.operator PackageReference(), and SiliconStudio.Assets.PackageCollection.Remove().

int SiliconStudio.Assets.Asset.SerializedVersion
getset

Gets or sets the version number for this asset, used internally when migrating assets.

The version.

Definition at line 61 of file Asset.cs.

TagCollection SiliconStudio.Assets.Asset.Tags
getset

Gets the tags for this asset.

The tags for this asset.

Definition at line 88 of file Asset.cs.


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