Class EditorTexture
Inheritance
EditorTexture
Assembly: Unity.VisualScripting.Core.Editor.dll
Syntax
public class EditorTexture
Fields
StandardIconResolutions
Declaration
public static readonly TextureResolution[] StandardIconResolutions
Field Value
Properties
this[int]
Declaration
public Texture2D this[int resolution] { get; }
Parameters
Type |
Name |
Description |
int |
resolution |
|
Property Value
Methods
Load(IEnumerable<IResourceProvider>, string, CreateTextureOptions, bool)
Declaration
public static EditorTexture Load(IEnumerable<IResourceProvider> resourceProviders, string path, CreateTextureOptions options, bool required)
Parameters
Returns
Load(IEnumerable<IResourceProvider>, string, TextureResolution[], CreateTextureOptions, bool)
Declaration
public static EditorTexture Load(IEnumerable<IResourceProvider> resourceProviders, string path, TextureResolution[] resolutions, CreateTextureOptions options, bool required)
Parameters
Returns
Load(IResourceProvider, string, CreateTextureOptions, bool)
Declaration
public static EditorTexture Load(IResourceProvider resources, string path, CreateTextureOptions options, bool required)
Parameters
Returns
Load(IResourceProvider, string, TextureResolution[], CreateTextureOptions, bool)
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