Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BackgroundPositionKeyword

Defines the position of the background.
Read time 1 minuteLast updated 5 days ago

Definition

public enum BackgroundPositionKeyword

Fields

Value

Description

BottomVertical alignment is at the bottom.
CenterVertical alignment is centered and/or Horizontal alignment is centered. This is the default value to make sure it's backward compatible with unity-background-scale-mode default value.
LeftHorizontal alignment is to the left.
RightHorizontal alignment is to the right.
TopVertical alignment is at the top.