Skip to content

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

object ← ImportEntry

Implements

IEquatable<ImportEntry>

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 ): when it is the same, the artifact is still good.

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

string

Dependencies

The other files the import read (a glTF's buffers and textures), relative to res://.

public IReadOnlyList<string> Dependencies { get; init; }

Property Value

IReadOnlyList<string>

Key

A hash of everything that affects the result (see ): when it is the same, the artifact is still good.

public string Key { get; init; }

Property Value

string

Source

The path of the asset relative to res:// (models/car.glb).

public string Source { get; init; }

Property Value

string