Class PercentProperty | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class PercentProperty

    Inheritance
    System.Object
    DiagnosticsNode
    DiagnosticsProperty<System.Nullable<System.Single>>
    _NumProperty<System.Nullable<System.Single>>
    FloatProperty
    PercentProperty
    Inherited Members
    FloatProperty.lazy(String, ComputePropertyValueCallback<Nullable<Single>>, String, Boolean, String, String, Object, DiagnosticLevel)
    _NumProperty<Nullable<Single>>.toJsonMap()
    _NumProperty<Nullable<Single>>.unit
    DiagnosticsProperty<Nullable<Single>>.lazy(String, ComputePropertyValueCallback<Nullable<Single>>, String, String, String, Boolean, Boolean, Object, String, Boolean, DiagnosticsTreeStyle, DiagnosticLevel)
    DiagnosticsProperty<Nullable<Single>>.toDescription(TextTreeConfiguration)
    DiagnosticsProperty<Nullable<Single>>.ifNull
    DiagnosticsProperty<Nullable<Single>>.ifEmpty
    DiagnosticsProperty<Nullable<Single>>.tooltip
    DiagnosticsProperty<Nullable<Single>>.missingIfNull
    DiagnosticsProperty<Nullable<Single>>.propertyType
    DiagnosticsProperty<Nullable<Single>>.valueObject
    DiagnosticsProperty<Nullable<Single>>.value
    DiagnosticsProperty<Nullable<Single>>.exception
    DiagnosticsProperty<Nullable<Single>>.defaultValue
    DiagnosticsProperty<Nullable<Single>>.level
    DiagnosticsProperty<Nullable<Single>>.getProperties()
    DiagnosticsProperty<Nullable<Single>>.getChildren()
    DiagnosticsNode.message(String, DiagnosticsTreeStyle, DiagnosticLevel)
    DiagnosticsNode.name
    DiagnosticsNode.showSeparator
    DiagnosticsNode.isFiltered(DiagnosticLevel)
    DiagnosticsNode.showName
    DiagnosticsNode.emptyBodyDescription
    DiagnosticsNode.style
    DiagnosticsNode.ToString()
    DiagnosticsNode.toString(TextTreeConfiguration, DiagnosticLevel)
    DiagnosticsNode.textTreeConfiguration
    DiagnosticsNode.toStringDeep(String, String, TextTreeConfiguration, DiagnosticLevel)
    Namespace: Unity.UIWidgets.foundation
    Syntax
    public class PercentProperty : FloatProperty

    Constructors

    PercentProperty(String, Single, String, Boolean, String, String, DiagnosticLevel)

    Declaration
    public PercentProperty(string name, float fraction, string ifNull = null, bool showName = true, string tooltip = null, string unit = null, DiagnosticLevel level = DiagnosticLevel.info)
    Parameters
    Type Name Description
    System.String name
    System.Single fraction
    System.String ifNull
    System.Boolean showName
    System.String tooltip
    System.String unit
    DiagnosticLevel level

    Methods

    numberToString()

    Declaration
    protected override string numberToString()
    Returns
    Type Description
    System.String
    Overrides
    FloatProperty.numberToString()

    valueToString(TextTreeConfiguration)

    Declaration
    protected override string valueToString(TextTreeConfiguration parentConfiguration = null)
    Parameters
    Type Name Description
    TextTreeConfiguration parentConfiguration
    Returns
    Type Description
    System.String
    Overrides
    Unity.UIWidgets.foundation._NumProperty<System.Nullable<System.Single>>.valueToString(Unity.UIWidgets.foundation.TextTreeConfiguration)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023