Unity recommended settings (HoloLens development series)

Source: Internet
Author: User

This article translated from:Recommended settings for Unity

Unity provides a set of default options that can be applied to all platforms in general. However, Unity also provides some special behavior for HoloLens, which can be changed by project settings.

Content of this article

    • 1 Holographic Start Screen
    • 2 Trace loss (Tracking loss)
    • 3 Features
    • 4 Learn More

Holographic Start Screen

To change the settings of the Holographic splash screen, open the Edit > Project Settings ... > Player page, click on the Windows Store tab and locate Splash Image & Gt Show Unity Splash screen settings and Windows holographic > Holographic Splash Image.

    The
    • toggle Show Unity Splash screen option will turn on or off the Unity flag splash. If you do not have a Unity Pro license, the Unity Logo splash screen will always be displayed.
    • If a holographic boot image is applied, the holographic boot image will be displayed regardless of whether the show Unity Splash screen check box is selected. Only developers with a Unity Pro license can specify a custom holographic boot image.

Show Unity splash Screen

Holographic boot Image

Behavior

Open

No

Displays the default splash screen for 5 seconds until the app is loaded and takes longer.

Open

Custom

Display the custom splash screen for 5 seconds, until the app is loaded, for a long time.

Off

No

Show transparent (no content) until the app is loaded.

Off

Custom

Display the custom splash screen for 5 seconds, until the app is loaded, for a long time.

Trace loss (Tracking loss)

HoloLens relies on the environment it "sees" to build a coordinate system, which ensures that the holographic image remains in its place. When HoloLens cannot locate itself in space, we call it "lost tracking (lost tracking)". In this case, the functionality that relies on the coordinate system, such as spatial mapping, will not work.

When trace loss occurs, Unity's default behavior is to stop rendering the hologram, pause the game loop, and send a trace of lost notifications, following the user gaze. Custom notifications are also provided in the form of tracking lost images (tracking loss image). In order to improve the user experience of a tracking-dependent app, it is necessary for unity to deal with things thoroughly before tracking the recovery.

custom tracking lost images. when tracking is lost, developers can provide a custom image for display. For custom tracking lost images, open the Edit > Project Settings ... > Player page and click on the Windows Store tab to find windows Holographic > Tracking Loss Image.

exits auto-pause. Some applications may not need to continue tracking or require uninterrupted tracking when tracking is lost. In these cases, the app can exit the default tracking loss behavior. If the developer chooses to do so, it is necessary to hide or disable objects that may render incorrectly in the event of a lost track. In most cases, the only thing that is recommended to be rendered is the lock object (body locked content).

To exit the auto-pause behavior, open the Edit > Project Settings ... > Player page, click the Windows Store tab, locate holographic > On Tracking Loss Pause and Show Image check box.

track lost events. to customize behavior when tracing is lost, you need to track lost events in global processing.

Function

In order for the application to take advantage of some of the features above HoloLens, these functions must be declared in the application manifest. Manifest declarations in unity enable these declarations to be included in subsequent project exports. These settings can be found in the Player Settings > Windows Store > Publishing Settings > Capabilities . The following is a list of features that enable common APIs for holographic applications:

Function

API Required Features

Network Camera

Video and Image capture

Spatial perception

Surface Observation and space anchors

Microphone

Dictation recognition, grammar recognition, and keyword recognition

Photo Gallery/Video library/Music Library

Image or video capture (static picture, video, audio, respectively)

Learn More

    • Unity Development Overview
    • Performance recommendations for Unity

Unity recommended settings (HoloLens development series)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.