Show / Hide Table of Contents

Class PlatformIcon

Inheritance
Object
PlatformIcon
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor
Assembly: UnityEditor.dll
Syntax
public class PlatformIcon

Properties

| Improve this Doc View Source

height

Declaration
public int height { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

kind

Declaration
public PlatformIconKind kind { get; }
Property Value
Type Description
PlatformIconKind
| Improve this Doc View Source

layerCount

Declaration
public int layerCount { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

maxLayerCount

Declaration
public int maxLayerCount { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

minLayerCount

Declaration
public int minLayerCount { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

width

Declaration
public int width { get; }
Property Value
Type Description
Int32

Methods

| Improve this Doc View Source

GetTexture(Int32)

Declaration
public Texture2D GetTexture(int layer = 0)
Parameters
Type Name Description
Int32 layer
Returns
Type Description
Texture2D
| Improve this Doc View Source

GetTextures()

Declaration
public Texture2D[] GetTextures()
Returns
Type Description
Texture2D[]
| Improve this Doc View Source

SetTexture(Texture2D, Int32)

Declaration
public void SetTexture(Texture2D texture, int layer = 0)
Parameters
Type Name Description
Texture2D texture
Int32 layer
| Improve this Doc View Source

SetTextures(Texture2D[])

Declaration
public void SetTextures(params Texture2D[] textures)
Parameters
Type Name Description
Texture2D[] textures
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX