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

An AssetItem accessor to get member value and overrides. More...

Public Member Functions

 AssetItemAccessor (AssetItem item)
 Initializes a new instance of the AssetItemAccessor class. More...
 
AssetMemberValue TryGetMemberValue (MemberPath path)
 Try to gets the value of an asset member and provides the assets that OverrideType information for this particular member. More...
 

Properties

AssetItem Item [get, set]
 Gets the item associated to this instance. More...
 

Detailed Description

An AssetItem accessor to get member value and overrides.

Definition at line 12 of file AssetItemAccessor.cs.

Constructor & Destructor Documentation

SiliconStudio.Assets.AssetItemAccessor.AssetItemAccessor ( AssetItem  item)

Initializes a new instance of the AssetItemAccessor class.

Parameters
itemThe item.
Exceptions
System.ArgumentNullExceptionitem

Definition at line 21 of file AssetItemAccessor.cs.

Member Function Documentation

AssetMemberValue SiliconStudio.Assets.AssetItemAccessor.TryGetMemberValue ( MemberPath  path)

Try to gets the value of an asset member and provides the assets that OverrideType information for this particular member.

Parameters
pathThe path to the member.
Returns
AssetMemberValue.
Exceptions
System.ArgumentNullExceptionpath

Definition at line 49 of file AssetItemAccessor.cs.

References SiliconStudio.Core.Reflection.MemberPath.TryGetValue().

Property Documentation

AssetItem SiliconStudio.Assets.AssetItemAccessor.Item
getset

Gets the item associated to this instance.

The item associated to this instance.

Definition at line 39 of file AssetItemAccessor.cs.


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