Navigation
API > API/Plugins > API/Plugins/GameplayCameras
A camera node that determines and sets the camera's target by running a ray-cast from the current camera position.
| Name | UTargetRayCastCameraNode |
| Type | class |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Nodes/Common/TargetRayCastCameraNode.h |
| Include Path | #include "Nodes/Common/TargetRayCastCameraNode.h" |
Syntax
UCLASS (MinimalAPI, Meta=(CameraNodeCategories="Common,Target"))
class UTargetRayCastCameraNode : public UCameraNode
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UCameraNode → UTargetRayCastCameraNode
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AutoFocus | FBooleanCameraParameter | Whether to set the focus distance to the ray-cast hit result. | Nodes/Common/TargetRayCastCameraNode.h |
|
| TraceChannel | TEnumAsByte< ECollisionChannel > | Trace channel to use for the ray-cast. | Nodes/Common/TargetRayCastCameraNode.h |
|
Functions
Protected
Overridden from UCameraNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FCameraNodeEvaluatorPtr OnBuildEvaluator
(
FCameraNodeEvaluatorBuilder& Builder |
Builds the evaluator for this node. | Nodes/Common/TargetRayCastCameraNode.h |