Search Results for

    Show / Hide Table of Contents

    Class ShortEditor

    Default implementation of the inspector used to edit short value type properties.

    Inheritance
    System.Object
    FlaxEditor.CustomEditors.CustomEditor
    SignedIntegerValueEditor
    ShortEditor
    Inherited Members
    SignedIntegerValueEditor.Initialize(LayoutElementsContainer)
    SignedIntegerValueEditor.Refresh()
    SignedIntegerValueEditor.Style
    Namespace: FlaxEditor.CustomEditors.Editors
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [CustomEditor]
    [DefaultEditor]
    public sealed class ShortEditor : SignedIntegerValueEditor

    Constructors

    ShortEditor()

    Declaration
    public ShortEditor()

    Methods

    GetLimits(out Int64, out Int64)

    Gets the value limits.

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

    The minimum value.

    System.Int64 max

    The maximum value.

    Overrides
    SignedIntegerValueEditor.GetLimits(out Int64, out Int64)

    GetValue(Object)

    Gets the value as long.

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

    The value from object.

    Returns
    System.Int64

    The value for editor.

    Overrides
    SignedIntegerValueEditor.GetValue(Object)

    SetValue(Int64)

    Gets the value from long.

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

    The value from editor.

    Returns
    System.Object

    The value to object.

    Overrides
    SignedIntegerValueEditor.SetValue(Int64)

    Extension Methods

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