Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | FEditorViewportCameraSpeedSettings |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Settings/EditorViewportSettings.h |
| Include Path | #include "Settings/EditorViewportSettings.h" |
Syntax
USTRUCT (MinimalAPI)
struct FEditorViewportCameraSpeedSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Settings/EditorViewportSettings.h | |||
FEditorViewportCameraSpeedSettings
(
float Speed |
Settings/EditorViewportSettings.h | ||
FEditorViewportCameraSpeedSettings
(
float Speed, |
Settings/EditorViewportSettings.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AbsoluteMaxSpeed | float | The fastest possible speed of the camera | Settings/EditorViewportSettings.h |
|
| AbsoluteMinSpeed | float | The slowest possible speed of the camera | Settings/EditorViewportSettings.h |
|
| CurrentSpeed | float | The speed of the camera | Settings/EditorViewportSettings.h |
|
| MaxUISpeed | float | The maximum speed of the camera when dragging with a slider | Settings/EditorViewportSettings.h |
|
| MinUISpeed | float | The minimum speed of the camera when dragging with a slider | Settings/EditorViewportSettings.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetAbsoluteMaxSpeed() |
Settings/EditorViewportSettings.h | ||
float GetAbsoluteMinSpeed() |
Settings/EditorViewportSettings.h | ||
float GetCurrentSpeed() |
Settings/EditorViewportSettings.h | ||
float GetMaxUISpeed() |
Settings/EditorViewportSettings.h | ||
float GetMinUISpeed() |
Settings/EditorViewportSettings.h | ||
float GetRelativeSpeed() |
Get the camera speed relative to the min & max, ranging from 0..1 | Settings/EditorViewportSettings.h | |
float GetRelativeUISpeed() |
Get the camera speed relative to the min & max, ranging from 0..1 | Settings/EditorViewportSettings.h | |
void SetAbsoluteSpeedRange
(
float NewMinSpeed, |
Sets the minimum & maximum speed. Adjusts the current speed & UI speed range as necessary. | Settings/EditorViewportSettings.h | |
void SetCurrentSpeed
(
float NewSpeed |
Settings/EditorViewportSettings.h | ||
void SetRelativeSpeed
(
float RelativeSpeed |
Set the camera speed with a 0..1 value relative to the min & max | Settings/EditorViewportSettings.h | |
void SetRelativeUISpeed
(
float RelativeUISpeed |
Set the camera speed with a 0..1 value relative to the min & max | Settings/EditorViewportSettings.h | |
void SetUISpeedRange
(
float NewMinSpeed, |
Sets the minimum & maximum UI speed. Constrained by the current Min & Max. | Settings/EditorViewportSettings.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FEditorViewportCameraSpeedSettings FromUIRange
(
float Speed, |
Provides a speed range where the min & max allow for the specified UI Min and Max. | Settings/EditorViewportSettings.h |