Class PropertiesWindow
Window used to present collection of selected object(s) properties in a grid. Supports Undo/Redo operations.
Inheritance
Namespace: FlaxEditor.Windows
Assembly: FlaxEngine.CSharp.dll
Syntax
public class PropertiesWindow : SceneEditorWindow, IComparable, IDrawable, IPresenterOwner
Constructors
PropertiesWindow(Editor)
Initializes a new instance of the PropertiesWindow class.
Declaration
public PropertiesWindow(Editor editor)
Parameters
Editor
editor
The editor. |
Fields
LockObjects
Indication of if the properties window is locked on specific objects.
Declaration
public bool LockObjects
Field Value
System.Boolean
|
Presenter
The editor.
Declaration
public readonly CustomEditorPresenter Presenter
Field Value
FlaxEditor.CustomEditors.CustomEditorPresenter
|
ScaleLinked
Indication of if the scale is locked.
Declaration
public bool ScaleLinked
Field Value
System.Boolean
|
UIPivotRelative
Indication of if UI elements should size relative to the pivot point.
Declaration
public bool UIPivotRelative
Field Value
System.Boolean
|
Properties
PresenterViewport
Gets the viewport linked with properties presenter (optional, null if unused).
Declaration
public EditorViewport PresenterViewport { get; }
Property Value
EditorViewport
|
Implements
UseLayoutData
Gets a value indicating whether window uses custom layout data.
Declaration
public override bool UseLayoutData { get; }
Property Value
System.Boolean
|
Overrides
Methods
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
OnSceneLoaded(Scene, Guid)
Fired when scene gets loaded
Declaration
public override void OnSceneLoaded(Scene scene, Guid sceneId)
Parameters
Scene
scene
The scene object. It may be null! |
System.Guid
sceneId
The scene ID. |
Overrides
Select(List<SceneGraphNode>)
Selects the scene objects.
Declaration
public void Select(List<SceneGraphNode> nodes)
Parameters
System.Collections.Generic.List<FlaxEditor.SceneGraph.SceneGraphNode>
nodes
The nodes to select |