#include <RadialWheelData.h>
◆ FRadialMenuData() [1/2]
| FRadialMenuData::FRadialMenuData |
( |
| ) |
|
|
inline |
◆ FRadialMenuData() [2/2]
| FRadialMenuData::FRadialMenuData |
( |
const FName & | GameplayTagCategory, |
|
|
const FString & | DataTableLocation ) |
|
inlineexplicit |
141 {
142 const UDataTable* RadialMenuDataTable = LoadObject<UDataTable>(nullptr, *DataTableLocation);
143 if (RadialMenuDataTable == nullptr)
144 {
145 UE_LOG(LogTemp,
Error, TEXT(
"Failed to load Radial Menu DataTable"));
146 return;
147 }
148
150
151 for (const FGameplayTag& Tag : GameplayTags)
152 {
153
154 FString LastTagPart;
155 Tag.GetTagName().ToString().Split(TEXT("."), nullptr, &LastTagPart, ESearchCase::IgnoreCase, ESearchDir::FromEnd);
156
157
158
160 if (Row != nullptr)
161 {
162
164 {
165 return ExistingRow.Name == Row->Name;
166 }))
167 {
169 }
170 }
171 }
172 UE_LOG(LogTemp,
Warning, TEXT(
"Radial Menu created with %d options"),
Selections.Num());
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190 }
static TArray< FGameplayTag > GetAllTagsOfCategory(const FName &Category)
Definition BaseHelpersBPLib.cpp:500
Definition RadialWheelData.h:72
◆ IsEmpty()
| bool FRadialMenuData::IsEmpty |
( |
| ) |
const |
|
inline |
◆ bCenterDescription
| bool FRadialMenuData::bCenterDescription = true |
◆ bLeftJoystick
| bool FRadialMenuData::bLeftJoystick = false |
◆ bShowSegmentDescription
| bool FRadialMenuData::bShowSegmentDescription = true |
◆ bUseCustomColors
| bool FRadialMenuData::bUseCustomColors = false |
◆ bUseCustomSize
| bool FRadialMenuData::bUseCustomSize = false |
◆ InnerRingColor
| FLinearColor FRadialMenuData::InnerRingColor = FLinearColor(0.369792f,0.369792f, 0.369792f) |
◆ MenuSize
| FVector2D FRadialMenuData::MenuSize = FVector2D(512.0f, 512.0f) |
◆ OuterRingColor
| FLinearColor FRadialMenuData::OuterRingColor = FLinearColor(0.0f,0.25641f, 1.0f) |
◆ RingMainColor
| FLinearColor FRadialMenuData::RingMainColor = FLinearColor(1.0f,1.0f, 1.0f) |
◆ Selections
◆ UnhighlightColor
| FLinearColor FRadialMenuData::UnhighlightColor = FLinearColor(0.291667f, 0.291667f, 0.291667f) |
The documentation for this struct was generated from the following file:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/BaseHelpers/Source/BaseHelpers/Public/Data/RadialWheelData.h