Navigation
API > API/Plugins > API/Plugins/CameraCalibrationCore
Interface of a camera calibration step. These will appear in a Camera Calibration Toolkit tab.
| Name | UCameraCalibrationStep |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/CameraCalibrationCore/Source/CameraCalibrationCore/Public/CameraCalibrationStep.h |
| Include Path | #include "CameraCalibrationStep.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UCameraCalibrationStep : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UCameraCalibrationStep
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Activate() |
Called when this step is the active step in the UI | CameraCalibrationStep.h | |
virtual TSharedRef< SWidget > BuildUI() |
Returns the UI of this camera calibration step. Expected to only be called once | CameraCalibrationStep.h | |
virtual void Deactivate() |
Called when this step is no longer the active step in the UI | CameraCalibrationStep.h | |
virtual bool DependsOnStep
(
UCameraCalibrationStep* Step |
Returns true if the given calibration step is a known prerequisite for this step | CameraCalibrationStep.h | |
virtual FName FriendlyName() |
Returns a title or friendly name that can be placed in UI | CameraCalibrationStep.h | |
virtual FCameraCalibrationStepsController * GetCameraCalibrationStepsController() |
Returns the parent camera calibration steps controller | CameraCalibrationStep.h | |
virtual UMaterialInstanceDynamic * GetOverlayMID() |
Returns the overlay MID used by this step | CameraCalibrationStep.h | |
virtual void Initialize
(
TWeakPtr< FCameraCalibrationStepsController > InCameraCalibrationStepController |
Make sure you initialize before using the object | CameraCalibrationStep.h | |
virtual bool IsActive() |
Returns true if the step is active | CameraCalibrationStep.h | |
virtual bool IsOverlayEnabled() |
Returns true if this step has enabled its overlay | CameraCalibrationStep.h | |
virtual bool OnViewportClicked
(
const FGeometry& MyGeometry, |
Callback when viewport is clicked. Returns false if the event was not handled. | CameraCalibrationStep.h | |
virtual bool OnViewportInputKey
(
const FKey& InKey, |
Callback when key is pressed while viewport is focused. Returns false if the event was not handled. | CameraCalibrationStep.h | |
virtual bool OnViewportMarqueeSelect
(
FVector2D StartPosition, |
Callback when the user performs a marquee select operation. | CameraCalibrationStep.h | |
virtual void Shutdown() |
Clean up resources and don't use CameraCalibrationStepController anymore | CameraCalibrationStep.h | |
virtual void Tick
(
float DeltaTime |
Called every frame | CameraCalibrationStep.h |