Apa fungsi visual studio community 2022 pada unity

The Unity Editor is a popular and useful authoring platform to create cutting edge augmented reality experiences for both handheld devices and digital eyewear. Visit //unity.com to download and set up Unity. The Vuforia Engine is easily added to any project, and our Core Samples are available in the Unity Asset Store to get you started.

About Vuforia Engine

Vuforia Engine is a software development kit (SDK) for creating Augmented Reality apps. Developers can easily add advanced computer vision functionality to any application, allowing it to recognize images and objects, and interact with spaces in the real world.  

Vuforia Engine supports AR app development for Android, iOS, Lumin, and UWP devices. See: Vuforia Engine Supported Versions

This Getting Started guide will show you:

  • How to add Vuforia Engine to your Unity project
  • How set up Vuforia Engine’s features in Unity 
  • How to add content and test your Unity project

Adding Vuforia Engine to a Unity project

The Vuforia Engine is available as a .unitypackage that can be imported into your Unity project from the menu Assets -> Import Package -> Custom Package....  Importing the package will let a script make the necessary changes in your Unity project to install or upgrade to the latest Vuforia Engine SDK.

Add or update Vuforia Engine to your Unity Project (SDK Downloads)

The package will automatically add the latest Vuforia Engine version to your Unity project. For more details, please see Vuforia Engine Package Hosting for Unity.

To manually check if new updates are available, go to Help -> Vuforia Engine -> Check for Updates:

Vuforia Engine Setup

The Vuforia Engine will be visible in the GameObject Menu

If this menu is not shown, this means that you did not install Vuforia with Unity (Unity versions before 2019.2) or did not add the Vuforia Engine package to your project (Unity 2019.2 and later).

Start by adding an ARCamera. This is a Unity camera game object that includes the VuforiaBehaviour to add support for augmented reality apps for both handheld devices and digital eyewear. 

Steps:

  1. Add an ARCamera GameObject from the Vuforia Engine menu. 
  2. Select the ARCamera and Open Vuforia Configuration from the Inspector
  3. Add a Vuforia Developer BASIC or PREMIUM license key in the App License Key field. For a guide on getting a license key, see Vuforia License Manager

Tip: Delete the default Main Camera after adding an ARCamera. The ARCamera contains its own Camera component. The Main Camera is not needed unless you are using it to render a specific camera overlay, e.g. user interface.

After activating Vuforia Engine in Unity, you can add features from the Vuforia Engine menu to your project from the Unity GameObject Menu

Please refer to Features Overview for more information on all of the capabilities offered by the Vuforia Engine.

You can also add the Vuforia Core Samples from Unity’s Asset Store. The Core Samples include and demonstrate many of the Vuforia Engine Features. The steps below continue to set up a basic Vuforia AR scene. 

Steps:

  1. Navigate to the Vuforia Engine Menu and select Image Target. or any of the other targets you wish to use. (VuMark, Ground Plane, and Mid Air anchors are also targets).
    1. For configurations for using other targets, please consult the Features Overview linked just above. It further links to Unity guides for each Vuforia target. 

Each Vuforia Engine GameObject can be configured in the Inspector.  When a target is added, it will appear in the Hierarchy. 

  1. Select the Image Target GameObject from the Hierarchy and choose from the Type dropdown either
  2. In this example, we select From Database. 

There isn't currently a database with Image Targets in the project. Vuforia will therefore ask you if you wish to Import Default Image Target Database in a pop-up window.

TIP: Maintain an accurate scale between the Vuforia targets and physical prints or objects. Using targets that deviate in size from the real-life object you wish to track might impact the quality. See Virtual Scene Scale in Unity for more information.

Adding Digital Assets

We can now add digital content to your target. You can do this by adding your assets as children of the target in the scene Hierarchy. Parenting content with a target object automatically sets up the necessary rendering and physics behaviors. (see: DefaultObserverEventHandler.cs).

  1. Add content as a child of the target by dragging your content on top of the target. 
    • This can also be a simple Cube from GameObject -> 3D Object -> Cube or you can place content from Unity’s Asset Store and even from our Core Samples as pictured above.  

Print Physical Targets

A Vuforia target is in most cases, a physical print or object. If you have imported the Core Samples, you can find these in /Editor/Vuforia/ForPrint as PDFs. All printable Vuforia targets are also available here: Printable Target pdfs

Print without scaling. 

To see your scene in action you can use the Vuforia Engine Play Mode in the Game View that you can activate by pressing the Play button. You can use this feature to evaluate and rapidly prototype your scene(s) without having to deploy to a device.  

Play Mode is configured in the Vuforia Configuration section and you may use a webcam, simulator mode, or recording mode to test your Vuforia targets. See Vuforia Play Mode in Unity for more information.

Building and running your app

Vuforia Engine-powered Unity apps are built and run in the same way as other Unity apps for Android, iOS, and UWP.

See Unity’s tutorial on build for mobile and their documentation for build settings on all supported platforms.

Configuring a project for Digital Eyewear

Vuforia Engine supports a variety of optical and video see-through stereo rendering displays, including HoloLens, Magic Leap and Vuzix M300 and M400. Refer to the Digital Eyewear article for more information.

Next Steps

Essentials

Vuforia Engine Package Hosting for Unity 

Vuforia Play Mode in Unity

Working with Vuforia Engine in Unity

Learn More

How to Create and Load Targets in Unity

Virtual Scene Scale Factor in Unity

Using ARCore in Unity

Building Large Vuforia Engine Apps in Unity

AR Foundation

How to Use Vuforia Engine and AR Foundation in the same Unity Scene

  • Article
  • 05/10/2022
  • 4 minutes to read

Applies to:

Visual Studio
Visual Studio for Mac

Updated for the 17.2 release. See full release notes | View product roadmap

Download Visual Studio 2022

With Visual Studio 2022, you'll always get the best-in-class tools and services available for any developer, any app, and any platform. Whether you're using Visual Studio for the first time or you've been using it for years, there's a lot to like in our newest version!

Performance improvements

Visual Studio 2022 is faster, more approachable, more lightweight, and is designed for both learners and those building industrial scale solutions.

Visual Studio 2022 is 64-bit

Visual Studio 2022 on Windows is now a 64-bit application. This means you can open, edit, run, and debug even the biggest and most complex solutions without running out of memory. To learn more, see both the Visual Studio 2022 vision and Visual Studio 2022 17.0 Preview blog posts.

Find in Files is faster

In Visual Studio 2022, we focused on improving the performance of several key features. For example, Find in Files is now as much as 3x faster when searching large solutions such as Orchard Core.

Build modern apps

Visual Studio 2022 makes it quick and easy to build modern, cloud-based applications with Azure. As well, our new version also has full support for .NET 6 and its unified framework for web, client, and mobile apps for both Windows and Mac developers. And, Visual Studio 2022 includes robust support for the C++ workload with new productivity features, C++20 tooling, and IntelliSense.

Visual Studio 2022 includes better cross-platform app development tools and the latest version of C++ build tools, to include C++20 support.

As well, we're updating Hot Reload so that you can edit either C++ or .NET projects while your application is running. For more information, see the Speed up your .NET and C++ development with Hot Reload in Visual Studio 2022 blog post, and the Write and debug running code with Hot Reload in Visual Studio with C#, C++, or Visual Basic Docs page.

Visual Studio 2022 includes a big update for the Blazor and Razor editors, and new capabilities for Hot Reload in ASP.NET Core—including Hot Reload when you save a file or when you apply changes to CSS files live!

Innovation at your fingertips

From real-time & asynchronous collaboration tools to improved insights and productivity tools that seamlessly integrate with your daily workflow, Visual Studio 2022 has this and more.

Multi-repo support with Git in the IDE

If you've worked with projects hosted on different Git repositories, you might have used external tools or multiple instances of Visual Studio to connect to them. In Visual Studio 2022, you can work with a single solution that has projects in multiple repositories and contribute to them all from a single instance of Visual Studio. To learn more, see the Multi-repo support in Visual Studio blog post.

IntelliCode improvements

Designing for everyone

We’re refreshing the user interface to better keep you in your flow. Some of the changes include cosmetic touches that modernize the UI or reduce crowding.

Look & feel

From new iconography to subtle color contrast ratio adjustments and a new Cascadia Code font, we're working to make Visual Studio 2022 more accessible for everyone. For all the details, see the We’ve upgraded the UI in Visual Studio 2022 blog post.

Personalization

One of our key focus areas is to make Visual Studio more personalized and flexible so that you can make the IDE your own. For example, Visual Studio 2022 offers you the ability to sync with your Windows theme. So, if you've enabled the "night light" feature there, Visual Studio uses it, too. For more info, see the Personalize your Visual Studio 2022 blog post.

What's next

Want to know more about what we're planning for Visual Studio 2022? See the Roadmap page and the Visual Studio 2022 17.3 Preview release notes for details.

Give us feedback

Why send feedback to the Visual Studio team? Because we take customer feedback seriously. It drives much of what we do.

  • If you want to make a suggestion about how we can improve Visual Studio, you can do so by using the Suggest a Feature tool.

  • If you experience an issue where Visual Studio stops responding, crashes, or other performance issues, you can easily share repro steps and supporting files with us by using the Report a Problem tool.

See also

Video yang berhubungan

Postingan terbaru

LIHAT SEMUA