ドキュメント

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.