landscape mode что это

Landscape mode

Landscape mode may refer to any of the following:

1. When referring to printing, landscape mode is a horizontal orientation of a document or image. Landscape mode is commonly used to print charts, wider images, and text that may not fit properly if the page is oriented in portrait mode (vertically).

Pictured is an example of printer options where the user can choose how the printing should be oriented. The top selection is portrait (vertical) orientation, which is taller than it is wide. The bottom selection is landscape (horizontal) orientation, which is wider than it is tall.

Most software offers a «page setup» option in the file menu, document settings, or preferences, where orientation can be chosen.

Related pages

2. When referring to a smartphone or tablet, landscape mode is when you hold your device horizontally. The image below shows a smartphone in landscape mode.

Related pages

3. When referring to computer monitors, landscape mode refers to most new models that are longer horizontally than they are vertically. The image below shows a landscape-oriented monitor. While the picture on the monitor defaults to landscape mode, it can be flipped to portrait mode in the monitor settings, if desired.

Источник

UnrealEd

Изучение Unreal Engine, документация на русском языке

Работа с инструментами Landscape

Создать Landscape внутри Unreal Engine 4 (UE4) можно за пару простых шагов. Но прежде чем мы перейдем к созданию нашего первого ландшафта, давайте познакомимся с нужными инструментами и горячими клавишами, которые чаще всего используются в системе создания Landscape.

Открываем Инструмент Landscape

Все инструменты, которые потребуются для работы с системой Landscape, можно найти, кликнув иконку Landscape, которую можно найти в тулбаре Modes. Так что кликаем на иконку в виде гор.

Режимы Manage, Sculpt и Paint

У инструмента Landscape есть три режима: Manage, Sculpt и Paint, и их можно включить кликнув на соответствующие иконки, находящиеся в верхней части тулбара окна Landscape. Каждый режим позволяет вам взаимодействовать с Landscape по-своему. Вот вам краткое описание каждого режима.

Иконка Режим Описание
Manage mode Позволяет вам создавать новые ландшафты и модифицировать их компоненты. Manage mode – это также место, где вы работаете с Landscape Gizmos, позволяющими копировать, вставлять, импортировать и экспортировать части ландшафта.
Sculpt mode Позволяет вам модифицировать формы вашего ландшафта, выбирая и используя необходимые инструменты.
Paint mode Позволяет вам модифицировать то, как выглядят части вашего ландшафта, раскрашивая его текстуры, опираясь на слои, которые были определены в Landscape’s Material.

Работа с Инструментами Landscape

Несмотря на то, что в каждом режиме есть свои инструменты, которые позволяют вам взаимодействовать с ландшафтом разными способами, управление с клавиатуры и мыши практически не меняется.

Вот вам самые популярные клавиши мыши и клавиатуры, а также клавиатурные сокращения, которые позволяют вам взаимодействовать с Landscape tool.

Источник

How to Use Landscape Mode on iPhone and Turn It off as You Wish

Posted by Noah Miller January 13, 2021 18:40

Looking text in landscape mode on iPhone is possible. By default, iPhone display automatically adjusts depending on the orientation of your device. When you have your iPhone positioned vertically, the screen orients into portrait mode. If you are holding it horizontally, your screen will switch to the landscape mode.

However, you may find that you cannot keep your iPhone in the landscape mode. When you watch vertically-shot videos, for example, you may not want the home screen to rotate to the portrait mode. That is what this article expects to tell you.

Part 1: What Is iPhone Landscape Mode?

The iPhone landscape mode is the orientation of your screen that puts images, videos, text and other contents horizontally across your display instead of vertically. In another word, this mode is used to display wide-screen contents.

Part 2: How to Turn iPhone into Landscape Mode

It is well-known that Apple has introduced a lot of improvements into iOS 13/14. So, it is a bit different to turn iPhone into landscape mode on iOS 13 and earlier.

How to Put iPhone into Landscape Mode on iOS 14 or later

Step 1 Open the Settings app from your home screen, which is a gear icon.

Step 2 Tap on your Apple ID, go to the Accessibility tab, and select Touch under the PHYSICAL AND MOTOR section. Touch AssistiveTouch and toggle it on. Then you will see the virtual button on your screen. (iPhone touch screen not working?)

How to Turn iPhone into Landscape Mode on iOS 12 and Older

Step 2 Next, you can turn your iPhone 6 into landscape mode with the virtual button quickly.

How to Lock iPhone in Landscape Mode by Control Center

Using AssistiveTouch button to turn iPhone XR Max into landscape mode has an unavoidable drawback. The virtual button keeps floating on your screen and may block something. There is a simpler way to do it.

Step 1 Put your iPhone into landscape mode to view the wide-screen movies or YouTube video.

Step 2 Open the Control Center and tap the Lock icon to lock iPhone X or other models in landscape mode. Now, you can rotate your iPhone, but the screen keeps in landscape mode.

Step 3 When you want to quit the landscape mode on iPhone 8/7 or earlier, tap the Lock icon in Control Center again.

Part 3: How to Fix iPhone Stuck in Landscape Mode

Sometimes, you may find your iPhone stuck in landscape mode and cannot rotate. Here we identified several solutions to help you fix this problem and then your display will change according to your need.

Solution 1: Try Another App

Bear in mind that not all apps can be turned to different orientation, such as landscape mode on iPhone 7 or other models. When you access an app and it gets stuck in landscape mode, go back to your home screen and try another app, such as Messages. If other apps can switch between landscape and portrait modes, it means your iPhone works well.

Solution 2: Check Screen Lock

As mentioned previously, there is a Screen Lock in Control Center. Once you turn it on accidentally, your iPhone will get stuck in landscape mode or portrait mode and cannot rotate anymore. The solution is simple. Check your Control Center and disable Screen Lock.

Solution 3: Restart iPhone

Though restarting iPhone is pretty easy, it is worth to try when your device is stuck in landscape mode.

Step 1 Press the Power button until the shut-down screen pops up.

Step 2 Move the switch from left to right and your screen should turn to black.

Step 3 Wait for a few seconds, and press the Power button to turn your iPhone back on. Enter your passcode and rotate your screen to check if it rotates normally.

More models about iPhone restart, you should check this post.

Solution 4: Fix iPhone Stuck in Landscape Mode with iOS System Recovery

Apeaksoft iOS System Recovery is an ultimate way to fix iPhone stuck in landscape mode. It is not only easy to use, but also able to protect your data.

1. Fix iPhone stuck in landscape mode quickly.

2. Keep your data and settings in the original condition.

3. Support one-click to force restart iPhone.

4. Available to iPhone running iOS 14/13/12/11 or earlier.

5. Equip a user-friendly interface and you can find what you want fast.

How to Fix iPhone Stuck in Landscape Mode

Step 1Connect iPhone to iOS System Recovery

When your iPhone screen stops rotating, install iOS System Recovery on your computer. Then connect your iPhone to the computer with a Lightning cable. Once launch the software, it will detect your device.

Step 2Fix iPhone stuck in landscape mode

Click Free Quick Fix to enter the next screen.

This guide told you the knowledge you should know about landscape mode on iPhone 12/12 Pro/12 Pro Max/12 mini/11/11 Pro/11 Pro Max/XR/XS/X/8/7 and earlier. Sometimes, you can get better experience in landscape mode, such as watching wide-screen videos. Fortunately, you can set it easily on iOS devices. When it comes to iPhone stuck in landscape mode, Apeaksoft iOS System Recovery can help you fix it quickly. Have more questions related to landscape mode? Please leave your message below.

Источник

Android, landscape only orientation?

How can I make it so the screen orientation is always landscape?

6 Answers 6

Edit:

To toggle the orientation from the Activity code, call setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE) other parameters can be found in the Android docs for ActivityInfo.

Just two steps needed:

Apply setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); after setContentView().

In the AndroidMainfest.xml, put this statement

Hope it helps and happy coding 🙂

One thing I’ve not found through the answers is that there are two possible landscape orientations, and I wanted to let both be available! So android:screenOrientation=»landscape» will lock your app only to one of the 2 possibilities, but if you want your app to be limited to both landscape orientations (for them whom is not clear, having device on portrait, one is rotating left and the other one rotating right) this is what is needed:

When you are in android studio 3 or above you need to add following lines AndroidManifest.xml file

One thing this is sensor Landscape, means it will work on both landscape sides

But if you only want to work the regular landscape side then, replace sensorLandscape to landscape

Источник

UnrealEd

Изучение Unreal Engine, документация на русском языке

Landscape — технический гайд по ландшафтам

Чтоб система ландшафтов заработала максимально эффективно, вы должны знать о некоторых определенных технических ограничениях, которые нужно брать в расчет. В данном документе прописаны все ограничения, на которые нужно обратить внимание, а также изложена ценная информация, которая поможет вам сохранить баланс между красотой и производительностью ваших ландшафтов.

Технические детали

Валидные размеры полей высот ландшафтов не всегда очевидны в самом начале. Чтоб иметь возможность определить размеры для полей высот, которые валидны и оптимальны, нужно понимать внутреннюю архитектуру Ландшафтов. Чтоб создать систему, позволяющую использовать большие ландшафты, которые эффективны с точки зрения используемой памяти и производительности, архитектура ограничивает размеры полей высот, а это означает, что есть определенные размеры, которые валидны, и прочие, не подходящие. В прежних системах ландшафтов в Unreal Engine либо вообще не было никаких ограничений (любые размеры были валидны и могли работать), либо ограничения были не строгие. Ограничения для полей высот ландшафтов гораздо более сложные и строгие.

Landscape Actor закодирован цветом, так что легко сказать, что именно делает каждая секция. Границы Landscape окрашены желтым, края каждого компонента подсвечены светло-зеленым, края секции (если секция размерами 2×2) окрашены зеленым, а отдельные Landscape-квадраты окрашены в темно-зеленый.

Color: Landscape Component
Yellow: Landscape Actor Edge
Light Green: Landscape Component Edge
Medium Green: Landscape Section Edge
Dark Green: Landscape Individual Quad

Landscape-компоненты

Ландшафты разделены на множество компонентов, которые представляют собой базовый юнит Unreal в плане рендеринга, расчетов видимости и столкновения. Components в Landscape все одинакового размера и всегда квадратные. Размер Landscape component определяется при создании Landscape, и выбор зависит от размера и деталей Landscape, который вы хотите создать

Данные высоты каждого компонента хранятся в одной единственной текстуре. Поэтому ее размер должен быть числом вершин в квадрате. Общий ряд вершин по краям двух соседствующих компонентов дублируется и хранится в каждом компоненте. По этой причине вы должны подумать о количестве квадратов в каждом компоненте.

Ниже представлен очень простой Landscape (подсвечен зеленым), содержащий 4 компонента. Каждый компонент состоит из простого квадрата. Один компонент отделен, чтоб показать, как дублируются те вершины, где встречаются компоненты.

Секции компонента

Компоненты можно опционально разделить на 1 или 4 (2×2) подсекции. Эти секции служат базовым юнитом расчетов Landscape LOD.

Использование подсекции 4 (2×2) дает вам тот же размер поля высот, как если бы вы использовали в четыре раза больше компонентов всего лишь с одной подсекцией каждый, но использование нескольких компонентов обычно приводит к большей производительности.

Размер каждой секции (количество вершин) должен быть в квадрате (максимально 256×256). Таким образом разные уровни LOD могут хранится в мипмапе текстуры. Так мы получим число квадратов в компоненте, также это число в квадрате минус 1. (если 1 секция на компонент) или числов квадрате минус 2 (если 4 секции на компонент).

Отдельный компонент, который проиллюстрирован ниже, содержит 4 секции. Каждая секция состоит из 9 (3×3) квадратов. И опять, вы можете заметить, что вершины, где секции встречаются, дублируются.

Расчет размеров поля высот

Как вы можете видеть, размеры для Landscape вытекают из количества квадратов в каждой секции, количеста секций в каждом компоненте и количества компонентов, представленных в Landscape. Определив количество компонентов и, найдя решение для каждого из этих компонентов, вы можете подсчитать размеры Landscape.

Вот несколько примерных сценариев:

Пример 1

Пример 2

Если у нас есть компонент, поделенный на 4 подсекции, каждая из которых собрана из 64×64 вершин, то это ведет к 63×63 квадратам на секцию, и 126×126 квадрат на компонент. Если у нас 32×32 этих компонентов, то мы получаем 126 * 32 = 4032 квадратов в общем в каждом направлении. Так что общий Landscape будет содержать 4033×4033 вершин.

Вопросы производительности

Выбор размера компонента, противопоставленный общему количеству компонентов – это компромисс производительности. Компоненты меньшего размера позволяют совершать более быстрый переход LOD, но меньший размер предполагают большее количество компонентов.

Каждый компонент нагружает центральный процессор и каждая секция посылает команду, так что попытайтесь минимизировать эту нагрузку и число команд. Для самых крупных ландшафтов рекомендуется использовать 1024 компонентов максимально.

Рекомендованные размеры ландшафтов

Чтоб облегчить дело, вот вам размеры, которые максимизируют область, но минимизируют количество компонентов Landscape.

Overall size (vertices) Quads / section Sections / component Component size Total Components
8129×8129 127 4 (2×2) 254×254 1024 (32×32)
4033×4033 63 4 (2×2) 126×126 1024 (32×32)
2017×2017 63 4 (2×2) 126×126 256 (16×16)
1009×1009 63 4 (2×2) 126×126 64 (8×8)
1009×1009 63 1 63×63 256 (16×16)
505×505 63 4 (2×2) 126×126 16 (4×4)
505×505 63 1 63×63 64 (8×8)
253×253 63 4 (2×2) 126×126 4 (2×2)
253×253 63 1 63×63 16 (4×4)
127×127 63 4 (2×2) 126×126 1
127×127 63 1 63×63 4 (2×2)

Режим Layer Debug

Режим Layer Debug визуализирует влияние определенных уровней на Landscape в Viewport. Вы можете включить режим Layer Debug в меню View, который находится в Viewport, в Landscape Visualizers.

При включенном режиме Layer Debug кнопки-пульки, позволяют выбрать отдельные цветовые каналы, которые перечислены в списке целевого уровня.

Выбор уровня применит шейдер к Landscape, и он покажет область, которую покрывает канал выбранного целевого уровня.

Источник

Читайте также:  что делает оператор бетонного завода
Сказочный портал