Navigation
API > API/Editor > API/Editor/VREditor
Structure to keep track of all relevant interaction and animation elements of a VR Button
| Name | FVRButton |
| Type | struct |
| Header File | /Engine/Source/Editor/VREditor/Public/UI/VREditorUISystem.h |
| Include Path | #include "UI/VREditorUISystem.h" |
Syntax
USTRUCT ()
struct FVRButton
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVRButton () |
UI/VREditorUISystem.h | ||
FVRButton
(
UVREditorWidgetComponent* InButtonWidget, |
UI/VREditorUISystem.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AnimationDirection | EVREditorAnimationState | Animation playback state of the button | UI/VREditorUISystem.h | |
| ButtonWidget | TObjectPtr< UVREditorWidgetComponent > | Pointer to button | UI/VREditorUISystem.h | |
| CurrentScale | float | Current scale of the button element | UI/VREditorUISystem.h | |
| MaxScale | float | Maximum scale of the button element | UI/VREditorUISystem.h | |
| MinScale | float | Minimum scale of the button element | UI/VREditorUISystem.h | |
| OriginalRelativeScale | FVector | Original relative scale of the button element | UI/VREditorUISystem.h | |
| ScaleRate | float | Rate at which the button changes scale. Currently the same for scaling up and scaling down. | UI/VREditorUISystem.h |