Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

SurfaceId

struct in UnityEngine.XR.WSA

/

Implemented in:UnityEngine.VRModule

Description

SurfaceId is a structure wrapping the unique ID used to denote Surfaces. SurfaceIds are provided through the onSurfaceChanged callback in Update and returned after a RequestMeshAsync call has completed. SurfaceIds are guaranteed to be unique though Surfaces are sometimes replaced with a new Surface in the same location with a different ID.

Properties

handleThe actual integer ID referring to a single surface.

Did you find this page useful? Please give it a rating: