fix debug gizmo default colors

This commit is contained in:
Mamadou Babaei
2023-04-25 10:43:51 +02:00
parent 149b6e503c
commit 73922673b7
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;
@@ -95,9 +95,9 @@ 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),
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);