Navigation
API > API/Plugins > API/Plugins/GameplayCameras
A camera node that sets the focus distance to the distance of the current target.
| Name | UAutoFocusCameraNode |
| Type | class |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Nodes/Common/AutoFocusCameraNode.h |
| Include Path | #include "Nodes/Common/AutoFocusCameraNode.h" |
Syntax
UCLASS (MinimalAPI, Meta=(CameraNodeCategories="Common,Rendering"))
class UAutoFocusCameraNode : public UCameraNode
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UCameraNode → UAutoFocusCameraNode
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAutoFocusCameraNode
(
const FObjectInitializer& ObjInit |
Nodes/Common/AutoFocusCameraNode.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AutoFocusDampingFactor | FFloatCameraParameter | The damping factor for how fast the focus distance follows the target distance. | Nodes/Common/AutoFocusCameraNode.h |
|
| EnableAutoFocus | FBooleanCameraVariableReference | Whether auto-focus should be enabled. | Nodes/Common/AutoFocusCameraNode.h |
|
Functions
Public
Protected
Overridden from UCameraNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FCameraNodeEvaluatorPtr OnBuildEvaluator
(
FCameraNodeEvaluatorBuilder& Builder |
Builds the evaluator for this node. | Nodes/Common/AutoFocusCameraNode.h |