Class EditorTexture
Inheritance
EditorTexture
Syntax
public class EditorTexture
Fields
StandardIconResolutions
Declaration
public static readonly TextureResolution[] StandardIconResolutions
Field Value
Properties
Item[Int32]
Declaration
public Texture2D this[int resolution] { get; }
Parameters
Type |
Name |
Description |
Int32 |
resolution |
|
Property Value
Methods
Load(IEnumerable<IResourceProvider>, String, CreateTextureOptions, Boolean)
Declaration
public static EditorTexture Load(IEnumerable<IResourceProvider> resourceProviders, string path, CreateTextureOptions options, bool required)
Parameters
Returns
Load(IEnumerable<IResourceProvider>, String, TextureResolution[], CreateTextureOptions, Boolean)
Declaration
public static EditorTexture Load(IEnumerable<IResourceProvider> resourceProviders, string path, TextureResolution[] resolutions, CreateTextureOptions options, bool required)
Parameters
Returns
Load(IResourceProvider, String, CreateTextureOptions, Boolean)
Declaration
public static EditorTexture Load(IResourceProvider resources, string path, CreateTextureOptions options, bool required)
Parameters
Returns
Load(IResourceProvider, String, TextureResolution[], CreateTextureOptions, Boolean)
Declaration
public static EditorTexture Load(IResourceProvider resources, string path, TextureResolution[] resolutions, CreateTextureOptions options, bool required)
Parameters
Returns
Single()
Declaration
public Texture2D Single()
Returns
Single(Texture)
Declaration
public static EditorTexture Single(Texture texture)
Parameters
Type |
Name |
Description |
Texture |
texture |
|
Returns
Single(Texture2D)
Declaration
public static EditorTexture Single(Texture2D texture)
Parameters
Returns
Extension Methods