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