Search Results for

    Show / Hide Table of Contents

    Class QuaternionEditor

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

    Inheritance
    System.Object
    FlaxEditor.CustomEditors.CustomEditor
    QuaternionEditor
    Namespace: FlaxEditor.CustomEditors.Editors
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [CustomEditor]
    [DefaultEditor]
    public class QuaternionEditor : CustomEditor

    Constructors

    QuaternionEditor()

    Declaration
    public QuaternionEditor()

    Fields

    XElement

    The X component element

    Declaration
    protected FloatValueElement XElement
    Field Value
    FloatValueElement

    YElement

    The Y component element

    Declaration
    protected FloatValueElement YElement
    Field Value
    FloatValueElement

    ZElement

    The Z component element

    Declaration
    protected FloatValueElement ZElement
    Field Value
    FloatValueElement

    Properties

    AllowSlidingForDifferentValues

    Whether to use the average for sliding different values.

    Declaration
    public virtual bool AllowSlidingForDifferentValues { get; }
    Property Value
    System.Boolean

    Style

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

    Overrides
    FlaxEditor.CustomEditors.CustomEditor.Style

    Methods

    ClearToken()

    Declaration
    protected override void ClearToken()
    Overrides
    FlaxEditor.CustomEditors.CustomEditor.ClearToken()

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

    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