Class ContentIdentity
Provides properties describing the origin of the game asset, such as the original source file and creation tool. This information is used for error reporting, and by processors that need to determine from what directory the asset was originally loaded.
[Serializable]
public class ContentIdentity
- Inheritance
-
ContentIdentity
- Inherited Members
Constructors
ContentIdentity()
Initializes a new instance of ContentIdentity.
public ContentIdentity()
ContentIdentity(string)
Initializes a new instance of ContentIdentity with the specified values.
public ContentIdentity(string sourceFilename)
Parameters
sourceFilename
stringThe absolute path to the file name of the asset source.
ContentIdentity(string, string)
Initializes a new instance of ContentIdentity with the specified values.
public ContentIdentity(string sourceFilename, string sourceTool)
Parameters
sourceFilename
stringThe absolute path to the file name of the asset source.
sourceTool
stringThe name of the digital content creation (DCC) tool that created the asset.
ContentIdentity(string, string, string)
Initializes a new instance of ContentIdentity with the specified values.
public ContentIdentity(string sourceFilename, string sourceTool, string fragmentIdentifier)
Parameters
sourceFilename
stringThe absolute path to the file name of the asset source.
sourceTool
stringThe name of the digital content creation (DCC) tool that created the asset.
fragmentIdentifier
stringSpecific location of the content item within the larger source file. For example, this could be a line number in the file.
Properties
FragmentIdentifier
Gets or sets the specific location of the content item within the larger source file.
public string FragmentIdentifier { get; set; }
Property Value
SourceFilename
Gets or sets the file name of the asset source.
public string SourceFilename { get; set; }
Property Value
SourceTool
Gets or sets the creation tool of the asset.
public string SourceTool { get; set; }