Video Playback with Image Tracking
Learn to play videos on static images in AR using image tracking with AR Foundation.
We will explore how to play a video upon image (or
Scene setup
Given below are the steps to set up a quick scene:
Duplicate the “ARImageTracking” scene from the previous lesson and rename it to “ARVideoPlayback.”
Clean up the “Hierarchy” window by removing the
Lean Touch
component.
These steps will provide us with the necessary GameObjects in the scene to start with.
AR Tracked Image Manager configuration
Given below are the steps to configure AR Tracked Image Manager:
Select the “AR Session Origin” GameObject in the “Hierarchy” window.
Reset the
AR Tracked Image Manager
component by clicking the three dots and selecting “Reset.” This action removes the previous bindings for AR image tracking.Create a new Reference Image Library file in the “Reference Image” folder by right-clicking and selecting “Create” > “XR” > “Reference Image Library.” Rename the file as
Video_ReferenceImageLibrary
.
Get hands-on with 1400+ tech skills courses.