Class DebugLogWindow
Editor window used to show debug info, warning and error messages. Captures Debug messages.
Inheritance
Implements
Namespace: FlaxEditor.Windows
Assembly: FlaxEngine.CSharp.dll
Syntax
public class DebugLogWindow : EditorWindow, IComparable, IDrawable
Constructors
DebugLogWindow(Editor)
Initializes a new instance of the DebugLogWindow class.
Declaration
public DebugLogWindow(Editor editor)
Parameters
Editor
editor
The editor. |
Properties
UseLayoutData
Gets a value indicating whether window uses custom layout data.
Declaration
public override bool UseLayoutData { get; }
Property Value
System.Boolean
|
Overrides
Methods
Add(ref DebugLogWindow.LogEntryDescription)
Adds the specified log entry.
Declaration
public void Add(ref DebugLogWindow.LogEntryDescription desc)
Parameters
DebugLogWindow.LogEntryDescription
desc
The log entry description. |
Clear()
Clears the log.
Declaration
public void Clear()
OnDestroy()
Method called when managed instance should be destroyed
Declaration
public override void OnDestroy()
Overrides
OnLayoutDeserialize()
Called when during windows layout deserialization if window has no layout data to load. Can be used to restore default UI layout.
Declaration
public override void OnLayoutDeserialize()
Overrides
OnLayoutDeserialize(XmlElement)
Called when during windows layout deserialization. Each window can use it to load custom interface data (eg. splitter position).
Declaration
public override void OnLayoutDeserialize(XmlElement node)
Parameters
System.Xml.XmlElement
node
The Xml document node. |
Overrides
OnLayoutSerialize(XmlWriter)
Called when during windows layout serialization. Each window can use it to store custom interface data (eg. splitter position).
Declaration
public override void OnLayoutSerialize(XmlWriter writer)
Parameters
System.Xml.XmlWriter
writer
The Xml writer. |
Overrides
OnPlayBegin()
Called when Editor is entering play mode.
Declaration
public override void OnPlayBegin()
Overrides
OnStartContainsFocus()
Action fired when control gets 'Contains Focus' state
Declaration
public override void OnStartContainsFocus()
Overrides
Update(Single)
Perform control update and all its children
Declaration
public override void Update(float deltaTime)
Parameters
System.Single
deltaTime
Delta time in seconds |