Class ObjectPreview
Inheritance
ObjectPreview
Assembly: UnityEditor.dll
Syntax
public class ObjectPreview : IPreviewable
Fields
|
Improve this Doc
View Source
m_ReferenceTargetIndex
Declaration
protected int m_ReferenceTargetIndex
Field Value
|
Improve this Doc
View Source
m_Targets
Declaration
protected Object[] m_Targets
Field Value
Properties
|
Improve this Doc
View Source
target
Declaration
public virtual Object target { get; }
Property Value
Methods
|
Improve this Doc
View Source
DrawPreview(Rect)
Declaration
public void DrawPreview(Rect previewArea)
Parameters
Type |
Name |
Description |
Rect |
previewArea |
|
|
Improve this Doc
View Source
GetInfoString()
Declaration
public virtual string GetInfoString()
Returns
|
Improve this Doc
View Source
GetPreviewTitle()
Declaration
public virtual GUIContent GetPreviewTitle()
Returns
|
Improve this Doc
View Source
HasPreviewGUI()
Declaration
public virtual bool HasPreviewGUI()
Returns
|
Improve this Doc
View Source
Initialize(Object[])
Declaration
public virtual void Initialize(Object[] targets)
Parameters
Type |
Name |
Description |
Object[] |
targets |
|
|
Improve this Doc
View Source
MoveNextTarget()
Declaration
public virtual bool MoveNextTarget()
Returns
|
Improve this Doc
View Source
OnInteractivePreviewGUI(Rect, GUIStyle)
Declaration
public virtual void OnInteractivePreviewGUI(Rect r, GUIStyle background)
Parameters
|
Improve this Doc
View Source
OnPreviewGUI(Rect, GUIStyle)
Declaration
public virtual void OnPreviewGUI(Rect r, GUIStyle background)
Parameters
|
Improve this Doc
View Source
OnPreviewSettings()
Declaration
public virtual void OnPreviewSettings()
|
Improve this Doc
View Source
ReloadPreviewInstances()
Declaration
public virtual void ReloadPreviewInstances()
|
Improve this Doc
View Source
ResetTarget()
Declaration
public virtual void ResetTarget()
Extension Methods