文档

Unity Engine

Unity Engine

RenderProbe

Refreshes the probe's cubemap.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

RenderProbe()

Refreshes the probe's cubemap.
public int RenderProbe()

Returns

Type

Description

intAn integer representing a RenderID which can subsequently be used to check if the probe has finished rendering while rendering in time-slice mode.

RenderProbe(RenderTexture)

Refreshes the probe's cubemap.
public int RenderProbe(RenderTexture targetTexture)

Parameters

targetTexture

Target RenderTexture in which rendering should be done. Specifying null will update the probe's default texture.

Returns

Type

Description

intAn integer representing a RenderID which can subsequently be used to check if the probe has finished rendering while rendering in time-slice mode.