Class ImportEntry¶
Namespace: Apogee.Content.Import
Assembly: Apogee.Content.dll
One artifact of the import: the source it came from, what it was made from, and the file.
public sealed record ImportEntry : IEquatable<ImportEntry>
Inheritance¶
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
ImportEntry(string, string, string, IReadOnlyList<string>)¶
One artifact of the import: the source it came from, what it was made from, and the file.
public ImportEntry(string Source, string Artifact, string Key, IReadOnlyList<string> Dependencies)
Parameters¶
Source string
The path of the asset relative to res:// (models/car.glb).
Artifact string
The path of the result, relative to res:// (imported/models/car.glb.amodel).
Key string
A hash of everything that affects the result (see
Dependencies IReadOnlyList<string>
The other files the import read (a glTF's buffers and textures), relative to res://.
Properties¶
Artifact¶
The path of the result, relative to res:// (imported/models/car.glb.amodel).
public string Artifact { get; init; }
Property Value¶
Dependencies¶
The other files the import read (a glTF's buffers and textures), relative to res://.
public IReadOnlyList<string> Dependencies { get; init; }
Property Value¶
Key¶
A hash of everything that affects the result (see
public string Key { get; init; }
Property Value¶
Source¶
The path of the asset relative to res:// (models/car.glb).
public string Source { get; init; }