The Texture
property represents the asset type for texture files, specifically those with the .vtex
extension. This property is part of the Editor.AssetType
class and is used to identify and manage texture assets within the editor environment.
The Texture
property represents the asset type for texture files, specifically those with the .vtex
extension. This property is part of the Editor.AssetType
class and is used to identify and manage texture assets within the editor environment.
Use the Texture
property to access the asset type for textures when working with assets in the editor. This can be useful for filtering, loading, or managing texture assets programmatically.
// Example of using the Texture asset type var textureAssetType = Editor.AssetType.Texture; // Use the asset type to find all texture assets var allTextures = Editor.AssetType.All.Where(asset => asset == textureAssetType); // Display the friendly name of the texture asset type string friendlyName = textureAssetType.FriendlyName; // Output: "Texture"