PostEffect

Inherits from : IPreprocess

{
    "key": "dummy",
    "fileName": "Blur",
    "layer": 0,
    "color": {
        "r" : 1,
        "g" : 1,
        "b" : 1,
        "a" : 1,
    },
    "floatOption" : { "_Strength" : "5" },
    "intOption" : { "_intValue" : "5" },
    "type": "PostEffect"
}
    
key type notes
key string 参照キー
fileName string シェーダーファイル名
layer int 表示レイヤー
color JNColor
floatOption Hashtable MaterialへのFloatパラメータ配列
intOption Hashtable MaterialへのIntパラメータ配列
シェーダーパラメータについて
サンプルシェーダとして以下を提供


PostEffectOff

Inherits from : IWait

{
    "key": "dummy",
    "fileName": "Blur",
    "time": 1,
    "type": "PostEffectOff"
}
    
key type notes
key string 参照キー
fileName string シェーダーファイル名
time float フェードアウト時間(s)