fix debug gizmo default colors

This commit is contained in:
Mamadou Babaei
2023-04-28 01:21:12 +02:00
parent abcc8f1194
commit 4057f27d02
3 changed files with 11 additions and 11 deletions
@@ -118,9 +118,9 @@ USGWristTrackerComponent::USGWristTrackerComponent(const FObjectInitializer& Obj
bDrawWristTrackerDebugGizmo = false;
WristTrackerDebugGizmoSettings = FSGDebugGizmoSettings(
4.0f, 1.0f,
FColor(1.0f, 0.0f, 0.0f, 1.0f),
FColor(0.0f, 1.0f, 0.0f, 1.0f),
FColor(0.0f, 0.0f, 1.0f, 1.0f),
FColor(255, 0, 0, 255),
FColor(0, 255, 0, 255),
FColor(0, 0, 255, 255),
false, 1.1f, 0
);
bDrawWristTrackerDebugGizmo = false;
@@ -94,11 +94,11 @@ USGSettings::USGSettings()
bDrawWristTrackerDebugGizmo = false;
WristTrackerDebugGizmoSettings = FSGDebugGizmoSettings(
4.0f, 1.0f,
FColor(1.0f, 0.0f, 0.0f, 1.0f),
FColor(0.0f, 1.0f, 0.0f, 1.0f),
FColor(0.0f, 0.0f, 1.0f, 1.0f),
false, 1.1f, 0
4.0f, 1.0f,
FColor(255, 0, 0, 255),
FColor(0, 255, 0, 255),
FColor(0, 0, 255, 255),
false, 1.1f, 0
);
}
@@ -72,9 +72,9 @@ public:
public:
explicit FSGDebugGizmoSettings(float InLength = 1.0f,
float InThickness = 1.0f,
const FColor& InXAxisColor = FColor(1.0f, 0.0f, 0.0f, 1.0f),
const FColor& InYAxisColor = FColor(0.0f, 1.0f, 0.0f, 1.0f),
const FColor& InZAxisColor = FColor(0.0f, 0.0f, 1.0f, 1.0f),
const FColor& InXAxisColor = FColor(255, 0, 0, 255),
const FColor& InYAxisColor = FColor(0, 255, 0, 255),
const FColor& InZAxisColor = FColor(0, 0, 255, 255),
bool bInPersistentLines = false,
float InLifeTimeModifier = 1.1f,
uint8 InDepthPriority = 0);