Skip to content

Class UTryllModelManifest

ClassList > UTryllModelManifest

More...

  • #include <TryllModelManifest.h>

Inherits the following classes: UDeveloperSettings

Public Attributes

Type Name
TArray< FTryllModelManifestEntry > Entries

Public Functions

Type Name
ETryllModelRegistration Get (const FString & ModelName) const
virtual FName GetCategoryName () override const
TArray< FString > ModelsOfType (const FString & ModelType) const
void Set (const FString & ModelName, const FString & ModelType, ETryllModelRegistration Registration)

Detailed Description

Project-wide manifest of which models ship in the build. Stores a thin name -> { type, registration } list; catalog metadata stays server-owned and is read via ListModels. The Model Manager window writes it; component pickers and a future packaging step read it.

Persisted to <YourProject>/Config/DefaultGame.ini under [/Script/TryllClient.TryllModelManifest].

Public Attributes Documentation

variable Entries

TArray<FTryllModelManifestEntry> UTryllModelManifest::Entries;

Models the project has registered. Unlisted models are None.


Public Functions Documentation

function Get

inline ETryllModelRegistration UTryllModelManifest::Get (
    const FString & ModelName
) const

Registration for a model, or None if unlisted.


function GetCategoryName

inline virtual FName UTryllModelManifest::GetCategoryName () override const

function ModelsOfType

inline TArray< FString > UTryllModelManifest::ModelsOfType (
    const FString & ModelType
) const

Names of registered models of a given type, for type-filtered pickers.


function Set

inline void UTryllModelManifest::Set (
    const FString & ModelName,
    const FString & ModelType,
    ETryllModelRegistration Registration
) 

Set (or clear) a model's registration. Setting None removes the entry so the manifest only holds models the project actually selects. Does not persist; callers invoke TryUpdateDefaultConfigFile() to write DefaultGame.ini.



The documentation for this class was generated from the following file C:/_tryll/_monorepo3/tryll/clients/unreal/Source/TryllClient/Public/TryllModelManifest.h