Table of Contents

Field subAssetType

Namespace
GrindFest.Content
Assembly
GrindFest.dll

For an address that names an object inside an asset (Assets/…/Praying End.fbx[Praying End]), the type of that object when the declaration states it ([Praying End:AnimationClip]).

It travels in the catalogue because the name alone does not identify an object: Praying End.fbx holds an Animator and an AnimationClip of that name, and this is the disambiguator the runtime key already uses (AssetLibrary.KeyFor = address|TypeName). Null for a whole asset, and for a sub-asset whose type the declaration leaves out - in which case the generator refuses a hierarchy node and reports the choice.

[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string subAssetType

Returns

string
For an address that names an object inside an asset (Assets/…/Praying End.fbx[Praying End]), the type of that object when the declaration states it ([Praying End:AnimationClip]). It travels in the catalogue because the name alone does not identify an object: Praying End.fbx holds an Animator and an AnimationClip of that name, and this is the disambiguator the runtime key already uses (AssetLibrary.KeyFor = address|TypeName). Null for a whole asset, and for a sub-asset whose type the declaration leaves out - in which case the generator refuses a hierarchy node and reports the choice.

Remarks

Omitted from the JSON when null: it is set for a few dozen sub-asset entries and null for the other four thousand, and writing it out anyway would add a line to every record of a file parsed at boot.