[ Web Proxy ]
URL:
Viewing: https://docs.unity3d.com/ScriptReference/UIElements.Repeat.html [Back]  [Original]

Unity - Scripting API: Repeat
Version: Unity 6.5 (6000.5)
    • Supported
    • Legacy
    LanguageEnglish
    • C#

    Repeat

    enumeration

    Suggest a change

    Success!

    Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

    Close

    Submission failed

    For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

    Close
    Your name Your email Suggestion* Submit suggestion

    Cancel

    Description

    Defines how the background is repeated.

    Properties

    Property Description
    NoRepeat The background-image isn't repeated. The image is only shown once. This is the default to keep background compatibility with unity-background-scale-mode.
    Space The background-image is repeated as much as possible without clipping. The first and last image is pinned to either side of the element, and whitespace is distributed evenly between the images.
    Round The background-image is repeated and squished or stretched to fill the space (no gaps).
    Repeat The background image is repeated both vertically and horizontally. The last image will be clipped if it doesn't fit.

    Web Proxy Viewer  |  New URL  |  Original Page