表示テーマ
RenderPassOutputSettings
RenderPassOutputSettingsは、RenderPassesの個別設定をまとめる型です。取得元の設定から値を編集し、所有するComponentへ反映します。
型の情報
- 名前空間:
NEMEngine - 型:
NEMEngine.RenderPassOutputSettings(Class) - 継承元:NEMEngine.SettingsObject
clearColor
csharp
public Color4? clearColorSkyboxがない背景の色です。C#からの変更は実行中だけに反映します。
操作:読取・変更。
format
csharp
public RenderPassOutputFormat formatPassが出力する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組で扱います。