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

    Class SceneBuilder

    Inheritance
    System.Object
    SceneBuilder
    Namespace: Unity.UIWidgets.ui
    Syntax
    public class SceneBuilder

    Constructors

    SceneBuilder()

    Declaration
    public SceneBuilder()

    Methods

    addPerformanceOverlay(Int32, Rect)

    Declaration
    public void addPerformanceOverlay(int enabledOptions, Rect bounds)
    Parameters
    Type Name Description
    System.Int32 enabledOptions
    Rect bounds

    addPicture(Offset, Picture, Boolean, Boolean)

    Declaration
    public void addPicture(Offset offset, Picture picture, bool isComplexHint = false, bool willChangeHint = false)
    Parameters
    Type Name Description
    Offset offset
    Picture picture
    System.Boolean isComplexHint
    System.Boolean willChangeHint

    addRetained(Layer)

    Declaration
    public void addRetained(Layer layer)
    Parameters
    Type Name Description
    Layer layer

    addTexture(Texture, Offset, Single, Single, Boolean)

    Declaration
    public void addTexture(Texture texture, Offset offset, float width, float height, bool freeze)
    Parameters
    Type Name Description
    Texture texture
    Offset offset
    System.Single width
    System.Single height
    System.Boolean freeze

    build()

    Declaration
    public Scene build()
    Returns
    Type Description
    Scene

    pop()

    Declaration
    public void pop()

    pushBackdropFilter(ImageFilter)

    Declaration
    public Layer pushBackdropFilter(ImageFilter filter)
    Parameters
    Type Name Description
    ImageFilter filter
    Returns
    Type Description
    Layer

    pushClipPath(Path)

    Declaration
    public Layer pushClipPath(Path clipPath)
    Parameters
    Type Name Description
    Path clipPath
    Returns
    Type Description
    Layer

    pushClipRect(Rect)

    Declaration
    public Layer pushClipRect(Rect clipRect)
    Parameters
    Type Name Description
    Rect clipRect
    Returns
    Type Description
    Layer

    pushClipRRect(RRect)

    Declaration
    public Layer pushClipRRect(RRect clipRRect)
    Parameters
    Type Name Description
    RRect clipRRect
    Returns
    Type Description
    Layer

    pushOffset(Single, Single)

    Declaration
    public Layer pushOffset(float dx, float dy)
    Parameters
    Type Name Description
    System.Single dx
    System.Single dy
    Returns
    Type Description
    Layer

    pushOpacity(Int32, Offset)

    Declaration
    public Layer pushOpacity(int alpha, Offset offset = null)
    Parameters
    Type Name Description
    System.Int32 alpha
    Offset offset
    Returns
    Type Description
    Layer

    pushPhysicalShape(Path, Single, Color, Color, Clip)

    Declaration
    public Layer pushPhysicalShape(Path path, float elevation, Color color, Color shadowColor, Clip clipBehavior)
    Parameters
    Type Name Description
    Path path
    System.Single elevation
    Color color
    Color shadowColor
    Clip clipBehavior
    Returns
    Type Description
    Layer

    pushTransform(Matrix3)

    Declaration
    public Layer pushTransform(Matrix3 matrix)
    Parameters
    Type Name Description
    Matrix3 matrix
    Returns
    Type Description
    Layer
    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