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
The ID number identifying the render texture.
Returns
Type | Description |
|---|---|
| RenderTexture | The managed UnityEngine.RenderTexture instance associated with the UnityXRRenderTextureID. |