기술 자료

Unity Engine

Unity Engine

eyeTextureDesc

Fetch the eye texture RenderTextureDescriptor from the active stereo device.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public static RenderTextureDescriptor eyeTextureDesc { get; }

Remarks

If XR is enabled, this returns a RenderTexureDescriptor configured by the stereo device. This greatly simplifies the process of generating temporary render textures for stereo rendering.
Additional Resources: ScriptableRenderContext.