Class OutputLogWindow
Editor window used to show engine output logs.
Inheritance
Implements
Namespace: FlaxEditor.Windows
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class OutputLogWindow : EditorWindow, IComparable, IDrawable
Constructors
OutputLogWindow(Editor)
Initializes a new instance of the DebugLogWindow class.
Declaration
public OutputLogWindow(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
Clear()
Clears the log.
Declaration
public void Clear()
LoadLogFile()
Loads the log from the file selected by the user with the file pickup dialog.
Declaration
public void LoadLogFile()
LoadLogFile(String)
Loads the log file.
Declaration
public void LoadLogFile(string path)
Parameters
System.String
path
The path. |
OnDestroy()
Method called when managed instance should be destroyed
Declaration
public override void OnDestroy()
Overrides
OnInit()
Called when window should be initialized. At this point, main window, content database, default editor windows are ready.
Declaration
public override void OnInit()
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
OnMouseUp(Float2, MouseButton)
When mouse goes up over control's area
Declaration
public override bool OnMouseUp(Float2 location, MouseButton button)
Parameters
Float2
location
Mouse location in Control Space |
MouseButton
button
Mouse buttons state (flags) |
Returns
System.Boolean
True if event has been handled, otherwise false |
Overrides
OnSizeChanged()
Called when control size gets changed.
Declaration
protected override void OnSizeChanged()
Overrides
PerformLayoutBeforeChildren()
Perform layout for that container control before performing it for child controls.
Declaration
protected override void PerformLayoutBeforeChildren()
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 |