Extends
- PassNodeProxy.<DepthOfFieldNode>
Members
bokehScale :number
- Description:
A unitless value for artistic purposes to adjust the size of the bokeh.
- Source:
- Default Value:
- 1
A unitless value for artistic purposes to adjust the size of the bokeh.
Type:
- number
focalLength :number
- Description:
How far an object can be from the focal plane before it goes completely out-of-focus in world units.
- Source:
- Default Value:
- 1
How far an object can be from the focal plane before it goes completely out-of-focus in world units.
Type:
- number
focusDistance :number
- Description:
Defines the effect's focus which is the distance along the camera's look direction in world units.
- Source:
- Default Value:
- 1
Defines the effect's focus which is the distance along the camera's look direction in world units.
Type:
- number
Methods
build(viewZNode, outputNode) → {DepthOfFieldNode}
- Description:
构建DOF Pass节点。
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
viewZNode |
TextureNode | 视图空间Z深度节点对象(可由PassNode.getViewZNode('depth')获取) |
outputNode |
TextureNode | 输出节点对象 |
Returns:
处理后的节点对象
- Type
- DepthOfFieldNode