Class UnsignedIntegerValueEditor
Default implementation of the inspector used to edit unsigned integer value type properties (maps to the full range of ulong type).
Inheritance
System.Object
FlaxEditor.CustomEditors.CustomEditor
UnsignedIntegerValueEditor
Namespace: FlaxEditor.CustomEditors.Editors
Assembly: FlaxEngine.CSharp.dll
Syntax
public abstract class UnsignedIntegerValueEditor : CustomEditor
Constructors
UnsignedIntegerValueEditor()
Declaration
protected UnsignedIntegerValueEditor()
Properties
Style
Declaration
public override DisplayStyle Style { get; }
Property Value
FlaxEditor.CustomEditors.DisplayStyle
|
Overrides
FlaxEditor.CustomEditors.CustomEditor.Style
Methods
GetLimits(out UInt64, out UInt64)
Gets the value limits.
Declaration
protected abstract void GetLimits(out ulong min, out ulong max)
Parameters
System.UInt64
min
The minimum value. |
System.UInt64
max
The maximum value. |
GetValue(Object)
Gets the value as long.
Declaration
protected abstract ulong GetValue(object value)
Parameters
System.Object
value
The value from object. |
Returns
System.UInt64
The value for editor. |
Initialize(LayoutElementsContainer)
Declaration
public override void Initialize(LayoutElementsContainer layout)
Parameters
FlaxEditor.CustomEditors.LayoutElementsContainer
layout
|
Overrides
FlaxEditor.CustomEditors.CustomEditor.Initialize(FlaxEditor.CustomEditors.LayoutElementsContainer)
Refresh()
Declaration
public override void Refresh()
Overrides
FlaxEditor.CustomEditors.CustomEditor.Refresh()
SetValue(UInt64)
Sets the value from long.
Declaration
protected abstract object SetValue(ulong value)
Parameters
System.UInt64
value
The value from editor. |
Returns
System.Object
The value to object. |