C# Класс UnityEditor.UI.RawImageEditor

Наследование: GraphicEditor
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetInfoString ( ) : string

A string cointaining the Image details to be used as a overlay on the component Preview.

HasPreviewGUI ( ) : bool

Can this component be Previewed in its current state?

OnInspectorGUI ( ) : void

Implement specific RawImage inspector GUI code here. If you want to simply extend the existing editor call the base OnInspectorGUI () before doing any custom GUI code.

OnPreviewGUI ( Rect rect, GUIStyle background ) : void

Custom preview for Image component.

Защищенные методы

Метод Описание
OnEnable ( ) : void

Приватные методы

Метод Описание
Outer ( RawImage rawImage ) : Rect
SetShowNativeSize ( bool instant ) : void

Описание методов

GetInfoString() публичный Метод

A string cointaining the Image details to be used as a overlay on the component Preview.

public GetInfoString ( ) : string
Результат string

HasPreviewGUI() публичный Метод

Can this component be Previewed in its current state?

public HasPreviewGUI ( ) : bool
Результат bool

OnEnable() защищенный Метод

protected OnEnable ( ) : void
Результат void

OnInspectorGUI() публичный Метод

Implement specific RawImage inspector GUI code here. If you want to simply extend the existing editor call the base OnInspectorGUI () before doing any custom GUI code.

public OnInspectorGUI ( ) : void
Результат void

OnPreviewGUI() публичный Метод

Custom preview for Image component.

public OnPreviewGUI ( Rect rect, GUIStyle background ) : void
rect UnityEngine.Rect Rectangle in which to draw the preview.
background UnityEngine.GUIStyle Background image.
Результат void