Search Results for

    Show / Hide Table of Contents

    Class SignedIntegerValueEditor

    Default implementation of the inspector used to edit signed integer value type properties (maps to the full range of long type).

    Inheritance
    System.Object
    FlaxEditor.CustomEditors.CustomEditor
    SignedIntegerValueEditor
    LongEditor
    SByteEditor
    ShortEditor
    Namespace: FlaxEditor.CustomEditors.Editors
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public abstract class SignedIntegerValueEditor : CustomEditor

    Constructors

    SignedIntegerValueEditor()

    Declaration
    protected SignedIntegerValueEditor()

    Properties

    Style

    Declaration
    public override DisplayStyle Style { get; }
    Property Value
    FlaxEditor.CustomEditors.DisplayStyle

    Overrides
    FlaxEditor.CustomEditors.CustomEditor.Style

    Methods

    GetLimits(out Int64, out Int64)

    Gets the value limits.

    Declaration
    protected abstract void GetLimits(out long min, out long max)
    Parameters
    System.Int64 min

    The minimum value.

    System.Int64 max

    The maximum value.

    GetValue(Object)

    Gets the value as long.

    Declaration
    protected abstract long GetValue(object value)
    Parameters
    System.Object value

    The value from object.

    Returns
    System.Int64

    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(Int64)

    Gets the value from long.

    Declaration
    protected abstract object SetValue(long value)
    Parameters
    System.Int64 value

    The value from editor.

    Returns
    System.Object

    The value to object.

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat