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
Remarks
Initializes a new instance of ContentIdentity with the specified values.
Constructors
ContentIdentity(string, string?, string?)
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.
public ContentIdentity(string sourceFilename = "", string? sourceTool = "", string? fragmentIdentifier = null)
Parameters
sourceFilenamestringThe absolute path to the file name of the asset source.
sourceToolstringThe name of the digital content creation (DCC) tool that created the asset.
fragmentIdentifierstringSpecific location of the content item within the larger source file. For example, this could be a line number in the file.
Remarks
Initializes a new instance of ContentIdentity with the specified values.
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; }