Version: 2018.2
Experimental: this API is experimental and might be changed or removed in the future.

XRCameraSubsystem.GetTextures

Switch to Manual
public void GetTextures (List<Texture2D> texturesOut);

Parameters

texturesOutA List of Texture2D to be filled. Passing null will throw an ArgumentNullException.

Description

Fills the provided texturesOut with the texture(s) associated with the XRCameraSubsystem.

See Also: UnityEngine.XR.ARBackgroundRenderer