Skip to content

Namespace Apogee.Core.Assets

Structs

AssetRef

A reference to an asset by its path and its . The path is what people read and is tried first; when the file is no longer there, the UID finds it where it was moved. Either part may be missing. The path is kept exactly as given: this type does not normalise it (the asset database does).

The text form is res://models/car.glb|uid://4k2m9x7q1w3ze; a path alone and a UID alone (uid://4k2m9x7q1w3ze) are also valid, and the empty text is the empty reference. | cannot be part of a path.

AssetUid

The identity of an asset that survives a rename or a move: 64 random bits. (zero) means "no UID" and is never minted. The text form is uid:// followed by 13 characters of lowercase Crockford base32 (0-9a-hjkmnp-tv-z), most significant digit first; the first digit holds the remaining 4 bits, so it is at most f.