// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved. /*============================================================================= GraphEditorSettings.cpp: Implements the UGraphEditorSettings class. =============================================================================*/ #include "GraphEditorCommon.h" /* UGraphEditorSettings structors *****************************************************************************/ UGraphEditorSettings::UGraphEditorSettings( const class FPostConstructInitializeProperties& PCIP ) : Super(PCIP) { DataPinStyle = BPST_VariantA; // graph node pin type colors DefaultPinTypeColor = FLinearColor(0.750000f, 0.6f, 0.4f, 1.0f); // light brown ExecutionPinTypeColor = FLinearColor(1.0f, 1.0f, 1.0f, 1.0f); // white BooleanPinTypeColor = FLinearColor(0.300000f, 0.0f, 0.0f, 1.0f); // maroon BytePinTypeColor = FLinearColor(0.0f, 0.160000f, 0.131270f, 1.0f); // dark green ClassPinTypeColor = FLinearColor(0.1f, 0.0f, 0.5f, 1.0f); // deep purple (violet) IntPinTypeColor = FLinearColor(0.013575f, 0.770000f, 0.429609f, 1.0f); // green-blue FloatPinTypeColor = FLinearColor(0.357667f, 1.0f, 0.060000f, 1.0f); // bright green NamePinTypeColor = FLinearColor(0.607717f, 0.224984f, 1.0f, 1.0f); // lilac DelegatePinTypeColor = FLinearColor(1.0f, 0.04f, 0.04f, 1.0f); // bright red ObjectPinTypeColor = FLinearColor(0.0f, 0.4f, 0.910000f, 1.0f); // sharp blue InterfacePinTypeColor = FLinearColor(0.8784f, 1.0f, 0.4f, 1.0f); // pale green StringPinTypeColor = FLinearColor(1.0f, 0.0f, 0.660537f, 1.0f); // bright pink TextPinTypeColor = FLinearColor(0.8f, 0.2f, 0.4f, 1.0f); // salmon (light pink) StructPinTypeColor = FLinearColor(0.0f, 0.1f, 0.6f, 1.0f); // deep blue WildcardPinTypeColor = FLinearColor(0.220000f, 0.195800f, 0.195800f, 1.0f); // dark gray VectorPinTypeColor = FLinearColor(1.0f, 0.591255f, 0.016512f, 1.0f); // yellow RotatorPinTypeColor = FLinearColor(0.353393f, 0.454175f, 1.0f, 1.0f); // periwinkle TransformPinTypeColor = FLinearColor(1.0f, 0.172585f, 0.0f, 1.0f); // orange IndexPinTypeColor = FLinearColor(0.013575f, 0.770000f, 0.429609f, 1.0f); // green-blue // graph debugging visuals TraceAttackColor = FLinearColor(1.0f, 0.05f, 0.0f, 1.0f); TraceAttackWireThickness = 12.0f; TraceSustainColor = FLinearColor(1.0f, 0.7f, 0.4f, 1.0f); TraceSustainWireThickness = 8.0f; TraceReleaseColor = FLinearColor(0.5f, 0.5f, 0.5f, 1.0f); TraceReleaseWireThickness = 2.0f; // graph debugging exec curve constants TracePositionBonusPeriod = 0.5f; TracePositionExponent = 5.0f; TraceAttackHoldPeriod = 0.3f; TraceDecayPeriod = 0.4f; TraceDecayExponent = 1.8f; TraceSustainHoldPeriod = 0.4f; TraceReleasePeriod = 1.5f; TraceReleaseExponent = 1.4f; // Blueprint editor graph node title colors EventNodeTitleColor = FLinearColor(1.f, 0.0f, 0.0f, 1.0f); FunctionCallNodeTitleColor = FLinearColor(0.190525f, 0.583898f, 1.0f, 1.0f); PureFunctionCallNodeTitleColor = FLinearColor(0.4f, 0.850000f, 0.350000f, 1.0f); ParentFunctionCallNodeTitleColor = FLinearColor(1.0f, 0.170000f, 0.0f, 1.0f); FunctionTerminatorNodeTitleColor = FLinearColor(0.6f, 0.0f, 1.0f, 1.0f); ExecBranchNodeTitleColor = FLinearColor(1.0f, 1.0f, 1.0f, 1.0f); ExecSequenceNodeTitleColor= FLinearColor(0.8f, 0.4f, 0.4f, 1.0f); ResultNodeTitleColor = FLinearColor(1.0f, 0.65f, 0.4f, 1.0f); }