Class RawImageEditor
Inherited Members
UnityEditor.Editor.MoveNextTarget()
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindFirstObjectByType<T>()
UnityEngine.Object.FindAnyObjectByType<T>()
UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
Namespace: UnityEditor.UI
Syntax
[CustomEditor(typeof(RawImage), true)]
[CanEditMultipleObjects]
public class RawImageEditor : GraphicEditor, IPreviewable, IToolModeOwner
Methods
GetInfoString()
Info String drawn at the bottom of the Preview
Declaration
public override string GetInfoString()
Returns
| Type | Description |
|---|---|
| String |
Overrides
HasPreviewGUI()
Allow the texture to be previewed.
Declaration
public override bool HasPreviewGUI()
Returns
| Type | Description |
|---|---|
| Boolean |
Overrides
OnEnable()
Declaration
protected override void OnEnable()
Overrides
OnInspectorGUI()
Declaration
public override void OnInspectorGUI()
Overrides
OnPreviewGUI(Rect, GUIStyle)
Draw the Image preview.
Declaration
public override void OnPreviewGUI(Rect rect, GUIStyle background)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | rect | |
| GUIStyle | background |