Skip to content

RenderPassOutputSettings ​

RenderPassOutputSettingsは、RenderPassesの個別設定をまとめる型です。取得元の設定から値を編集し、所有するComponentへ反映します。

使い方と前提条件 · C# API一覧

型の情報 ​

clearColor ​

csharp
public Color4? clearColor

Skyboxがない背景の色です。C#からの変更は実行中だけに反映します。

操作:読取・変更。

format ​

csharp
public RenderPassOutputFormat format

Passが出力するTextureの画素形式です。

操作:読取・変更。

heightScale ​

csharp
public float heightScale

入力に対する出力Textureの高さの倍率です。

操作:読取・変更。

history ​

csharp
public bool history

出力Textureの前回値を履歴として保持します。

操作:読取・変更。

historyShaderResource ​

csharp
public string historyShaderResource

履歴TextureをShaderへ渡すResource名です。

操作:読取・変更。

name ​

csharp
public string name

対象や設定を識別する名前です。

操作:読取・変更。

shaderResource ​

csharp
public string shaderResource

出力TextureをShaderへ渡すResource名です。

操作:読取・変更。

widthScale ​

csharp
public float widthScale

入力に対する出力Textureの幅の倍率です。

操作:読取・変更。

実行時の扱い ​

Nativeと接続する操作は、Scriptが実行される有効なWorld内で使用します。破棄したGameObjectやComponentへのアクセスは避けてください。設定Snapshotは取得・編集・反映を1組で扱います。

現行版マニュアル · 8ea58ba2 · 2026-10-28確認