docs.unity.cn
    Show / Hide Table of Contents

    Enum CinemachineStoryboard.FillStrategy

    How to fit the image in the frame, in the event that the aspect ratios don't match

    Namespace: Cinemachine
    Syntax
    public enum FillStrategy

    Fields

    Name Description Value
    BestFit

    Image will be as large as possible on the screen, without being cropped


    0
    CropImageToFit

    Image will be cropped if necessary so that the screen is entirely filled


    1
    StretchToFit

    Image will be stretched to cover any aspect mismatch with the screen


    2
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, May 8, 2023