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

    Class PhysicalModel

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    RenderObjectWidget
    SingleChildRenderObjectWidget
    PhysicalModel
    Inherited Members
    SingleChildRenderObjectWidget.child
    SingleChildRenderObjectWidget.createElement()
    RenderObjectWidget.didUnmountRenderObject(RenderObject)
    Widget.key
    Widget.toStringShort()
    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 PhysicalModel : SingleChildRenderObjectWidget

    Constructors

    PhysicalModel(Key, BoxShape, Clip, BorderRadius, Single, Color, Color, Widget)

    Declaration
    public PhysicalModel(Key key = null, BoxShape shape = BoxShape.rectangle, Clip clipBehavior = Clip.none, BorderRadius borderRadius = null, float elevation = 0F, Color color = null, Color shadowColor = null, Widget child = null)
    Parameters
    Type Name Description
    Key key
    BoxShape shape
    Clip clipBehavior
    BorderRadius borderRadius
    Single elevation
    Color color
    Color shadowColor
    Widget child

    Fields

    borderRadius

    Declaration
    public readonly BorderRadius borderRadius
    Field Value
    Type Description
    BorderRadius

    clipBehavior

    Declaration
    public readonly Clip clipBehavior
    Field Value
    Type Description
    Clip

    color

    Declaration
    public readonly Color color
    Field Value
    Type Description
    Color

    elevation

    Declaration
    public readonly float elevation
    Field Value
    Type Description
    Single

    shadowColor

    Declaration
    public readonly Color shadowColor
    Field Value
    Type Description
    Color

    shape

    Declaration
    public readonly BoxShape shape
    Field Value
    Type Description
    BoxShape

    Methods

    createRenderObject(BuildContext)

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

    debugFillProperties(DiagnosticPropertiesBuilder)

    Declaration
    public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
    Parameters
    Type Name Description
    DiagnosticPropertiesBuilder properties
    Overrides
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)

    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