magic7721 / se07-9.1

Tìm hiểu về light estimation, tập xử lý light estimation với dữ liệu HDR, học cách xử lý Ambient và các custom shader sử dụng diffuse, specular… Có thể code trực tiếp bằng ARCore SDK
0 stars 0 forks source link

Migration Guide This will guide you through the changes coming from AR Foundation 1.0 #7

Open vungoc2009 opened 2 years ago

vungoc2009 commented 2 years ago

TL;DR Add an ARInputManager anywhere in your scene. Add an ARCameraManager to your AR camera (this replaces the ARCameraOptions). Raycast via the ARRaycastManager instead of the ARSessionOrigin Some TryGet/TryAdd/TryRemove APIs were renamed to just Get/Add/Remove GetAllXXX is now a trackables property Added, update, and removed events have been combined into a single event that gives you lists of all the added, updated, and removed trackables. Events In 1.0, each trackable manager provided added, updated, and removed events for each trackable. In 2.0, each trackable manager has a single event invoked no more than once per frame containing all the changes (added, updated, and removed) since the last frame. Example: 1.0 ARPlaneManager.planeAdded, ARPlaneManager.planeUpdated, ARPlaneManager.planeRemoved 2.0 ARPlaneManager.planesChanged