ドキュメント

Unity Engine

Unity Engine

GetRenderTexture(uint)

Given the UnityXRRenderTextureID returned by IUnityXRDisplayInterface::CreateTexture, return the managed UnityEngine.RenderTexture instance.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public RenderTexture GetRenderTexture(uint unityXrRenderTextureId)

Parameters

unityXrRenderTextureId

The ID number identifying the render texture.

Returns

Type

Description

RenderTextureThe managed UnityEngine.RenderTexture instance associated with the UnityXRRenderTextureID.