Properties

Category Category of this asset type, for grouping in UI.
Color Color that represents this asset, for use in the asset browser.
FileExtension Primary file extension for this asset type.
FileExtensions All file extensions for this asset type.
FriendlyName Name of the asset type for UI purposes.
HasDependencies This asset type can have dependencies
HiddenByDefault This asset type is hidden by default from asset browser, etc.
Icon128 128x128 icon for this asset type.
Icon16 16x16 icon for this asset type.
Icon256 256x256 icon for this asset type.
Icon64 64x64 icon for this asset type.
IsGameResource Whether this asset type is a custom game resource or not.
IsSimpleAsset A simple asset is used by something else. It never exists in the game on its own.
PrefersIconThumbnail Use asset type icon, over any preview image.
ResourceType Type that will be returned by Editor.Asset.LoadResource.

Static Properties

All All currently registered asset types, including the base types such as models, etc.
Animation Animation (.vanim) asset type.
AnimationGraph Animation Graph (.vanmgrph) asset type.
ImageFile Image source (.png or .jpg) asset type.
MapFile A map (.vmap) asset type.
Material Material (.vmat) asset type.
Model Model (.vmdl) asset type.
Shader Shader (.shader) asset type.
SoundEvent A sound event
SoundFile Sound (.wav, .ogg or .mp3) asset type.
Soundscape A soundscape
Texture Texture (.vtex) asset type.

Static Methods

Find
FromExtension
FromType
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.