Appearance
composer.enableFocusPass(dofEnabled, dofFocus, dofAperture, dofMaxblur) ?
是否開啟景深模糊
Kind: instance method of Composer
| Param | Type | Description |
|---|---|---|
| dofEnabled | boolean | 景深開關(guān) |
| dofFocus | number | 景深焦距 |
| dofAperture | number | 景深孔徑 |
| dofMaxblur | number | 景深最大模糊程度 |
composer.setFocusEnabled(dofEnabled) ?
設(shè)置是否開啟景深
Kind: instance method of Composer
| Param | Type | Description |
|---|---|---|
| dofEnabled | boolean | 景深開關(guān) |
composer.setDofFocus(dofFocus) ?
設(shè)置景深孔徑
Kind: instance method of Composer
| Param | Type | Description |
|---|---|---|
| dofFocus | number | 景深孔徑 |
composer.setDofAperture(dofAperture) ?
設(shè)置景深焦距
Kind: instance method of Composer
| Param | Type | Description |
|---|---|---|
| dofAperture | number | 景深焦距 |
composer.setDofMaxblur(dofMaxblur) ?
設(shè)置景深最大模糊程度
Kind: instance method of Composer
| Param | Type | Description |
|---|---|---|
| dofMaxblur | number | 景深最大模糊程度 |