Class ListWheelViewport | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class ListWheelViewport

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    RenderObjectWidget
    ListWheelViewport
    Inherited Members
    RenderObjectWidget.didUnmountRenderObject(RenderObject)
    Widget.key
    Widget.toStringShort()
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)
    Widget.canUpdate(Widget, Widget)
    CanonicalMixinDiagnosticableTree.pureWidget
    CanonicalMixinDiagnosticableTree.Equals(Object)
    CanonicalMixinDiagnosticableTree.GetHashCode()
    DiagnosticableTree.toStringShallow(String, DiagnosticLevel)
    DiagnosticableTree.toStringDeep(String, String, DiagnosticLevel)
    DiagnosticableTree.toDiagnosticsNode(String, DiagnosticsTreeStyle)
    DiagnosticableTree.debugDescribeChildren()
    Diagnosticable.ToString()
    Diagnosticable.toString(DiagnosticLevel)
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public class ListWheelViewport : RenderObjectWidget

    Constructors

    ListWheelViewport(Single, ViewportOffset, ListWheelChildDelegate, Key, Single, Single, Single, Boolean, Single, Boolean, Boolean)

    Declaration
    public ListWheelViewport(float itemExtent, ViewportOffset offset, ListWheelChildDelegate childDelegate, Key key = null, float diameterRatio = 2F, float perspective = 0.003F, float offAxisFraction = 0F, bool useMagnifier = false, float magnification = 1F, bool clipToSize = true, bool renderChildrenOutsideViewport = false)
    Parameters
    Type Name Description
    Single itemExtent
    ViewportOffset offset
    ListWheelChildDelegate childDelegate
    Key key
    Single diameterRatio
    Single perspective
    Single offAxisFraction
    Boolean useMagnifier
    Single magnification
    Boolean clipToSize
    Boolean renderChildrenOutsideViewport

    Fields

    childDelegate

    Declaration
    public readonly ListWheelChildDelegate childDelegate
    Field Value
    Type Description
    ListWheelChildDelegate

    clipToSize

    Declaration
    public readonly bool clipToSize
    Field Value
    Type Description
    Boolean

    diameterRatio

    Declaration
    public readonly float diameterRatio
    Field Value
    Type Description
    Single

    itemExtent

    Declaration
    public readonly float itemExtent
    Field Value
    Type Description
    Single

    magnification

    Declaration
    public readonly float magnification
    Field Value
    Type Description
    Single

    offAxisFraction

    Declaration
    public readonly float offAxisFraction
    Field Value
    Type Description
    Single

    offset

    Declaration
    public readonly ViewportOffset offset
    Field Value
    Type Description
    ViewportOffset

    perspective

    Declaration
    public readonly float perspective
    Field Value
    Type Description
    Single

    renderChildrenOutsideViewport

    Declaration
    public readonly bool renderChildrenOutsideViewport
    Field Value
    Type Description
    Boolean

    useMagnifier

    Declaration
    public readonly bool useMagnifier
    Field Value
    Type Description
    Boolean

    Methods

    createElement()

    Declaration
    public override Element createElement()
    Returns
    Type Description
    Element
    Overrides
    Widget.createElement()

    createRenderObject(BuildContext)

    Declaration
    public override RenderObject createRenderObject(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    RenderObject
    Overrides
    RenderObjectWidget.createRenderObject(BuildContext)

    updateRenderObject(BuildContext, RenderObject)

    Declaration
    public override void updateRenderObject(BuildContext context, RenderObject renderObject)
    Parameters
    Type Name Description
    BuildContext context
    RenderObject renderObject
    Overrides
    RenderObjectWidget.updateRenderObject(BuildContext, RenderObject)
    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