Blueprint Stats插件
Blueprint Stats是一款在Editor类型的统计蓝图插件,只能在编辑器中使用。
该插件默认是不启用的,可在项目的uproject文件中将其启用:
启动编辑器后,在Output Log窗口中执行DumpBlueprintStats控制台命令,可统计出当前项目的蓝图的使用情况,如下:
Cmd: DumpBlueprintStats LogBlueprintStats: Blueprint stats for 10 blueprints in MyTest1 LogBlueprintStats: Total,DOBP,NumNodes,ImpureWI,ImpureWO,ImpureWIO,ImpureTotal,PureTotal,UserFnCount,UserPureCount,UserMacroCount LogBlueprintStats: 10,4,476,55,15,14,56,98,4,0,24 LogBlueprintStats: NodeClass,NumInstances LogBlueprintStats: K2Node_CallFunction,142 LogBlueprintStats: K2Node_VariableGet,68 LogBlueprintStats: K2Node_Tunnel,48 LogBlueprintStats: K2Node_AssignmentStatement,34 LogBlueprintStats: EdGraphNode_Comment,27 LogBlueprintStats: K2Node_IfThenElse,27 LogBlueprintStats: K2Node_TemporaryVariable,17 LogBlueprintStats: K2Node_Knot,13 LogBlueprintStats: K2Node_MacroInstance,13 LogBlueprintStats: K2Node_ExecutionSequence,12 LogBlueprintStats: K2Node_Event,10 LogBlueprintStats: K2Node_CommutativeAssociativeBinaryOperator,8 LogBlueprintStats: K2Node_VariableSet,7 LogBlueprintStats: K2Node_FunctionEntry,6 LogBlueprintStats: K2Node_VariableSetRef,5 LogBlueprintStats: AnimStateTransitionNode,4 LogBlueprintStats: AnimGraphNode_TransitionResult,4 LogBlueprintStats: AnimGraphNode_StateResult,4 LogBlueprintStats: AnimStateNode,4 LogBlueprintStats: K2Node_GetArrayItem,3 LogBlueprintStats: K2Node_CallArrayFunction,3 LogBlueprintStats: AnimGraphNode_SequencePlayer,3 LogBlueprintStats: K2Node_ComponentBoundEvent,2 LogBlueprintStats: K2Node_TransitionRuleGetter,2 LogBlueprintStats: K2Node_Self,1 LogBlueprintStats: AnimGraphNode_StateMachine,1 LogBlueprintStats: K2Node_EnumEquality,1 LogBlueprintStats: AnimGraphNode_BlendSpacePlayer,1 LogBlueprintStats: AnimGraphNode_Root,1 LogBlueprintStats: K2Node_CallMaterialParameterCollectionFunction,1 LogBlueprintStats: K2Node_GetEnumeratorNameAsString,1 LogBlueprintStats: K2Node_BreakStruct,1 LogBlueprintStats: K2Node_CreateWidget,1 LogBlueprintStats: AnimStateEntryNode,1 LogBlueprintStats: FunctionPath,ClassName,FunctionName,NumInstances LogBlueprintStats: /Script/Engine.MaterialInstanceDynamic:SetVectorParameterValue,MaterialInstanceDynamic,SetVectorParameterValue,19 LogBlueprintStats: /Script/Engine.MaterialInstanceDynamic:SetScalarParameterValue,MaterialInstanceDynamic,SetScalarParameterValue,9 LogBlueprintStats: /Script/Engine.CurveLinearColor:GetClampedLinearColorValue,CurveLinearColor,GetClampedLinearColorValue,6 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Add_IntInt,KismetMathLibrary,Add_IntInt,6 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Less_FloatFloat,KismetMathLibrary,Less_FloatFloat,5 LogBlueprintStats: /Script/Engine.Actor:K2_GetActorRotation,Actor,K2_GetActorRotation,5 LogBlueprintStats: /Script/Engine.TextRenderComponent:K2_SetText,TextRenderComponent,K2_SetText,5 LogBlueprintStats: /Script/Engine.PrimitiveComponent:CreateDynamicMaterialInstance,PrimitiveComponent,CreateDynamicMaterialInstance,4 LogBlueprintStats: /Script/Engine.KismetMathLibrary:BreakRotator,KismetMathLibrary,BreakRotator,4 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Abs,KismetMathLibrary,Abs,4 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Less_IntInt,KismetMathLibrary,Less_IntInt,4 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Not_PreBool,KismetMathLibrary,Not_PreBool,4 LogBlueprintStats: /Script/Engine.KismetArrayLibrary:Array_Length,KismetArrayLibrary,Array_Length,3 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Conv_VectorToLinearColor,KismetMathLibrary,Conv_VectorToLinearColor,3 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Conv_RotatorToVector,KismetMathLibrary,Conv_RotatorToVector,3 LogBlueprintStats: /Script/Engine.Actor:SetActorHiddenInGame,Actor,SetActorHiddenInGame,3 LogBlueprintStats: /Script/Engine.KismetTextLibrary:Conv_FloatToText,KismetTextLibrary,Conv_FloatToText,3 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Subtract_IntInt,KismetMathLibrary,Subtract_IntInt,3 LogBlueprintStats: /Script/Engine.KismetMathLibrary:MapRangeUnclamped,KismetMathLibrary,MapRangeUnclamped,3 LogBlueprintStats: /Script/Engine.KismetTextLibrary:Conv_StringToText,KismetTextLibrary,Conv_StringToText,2 LogBlueprintStats: /Script/Engine.KismetInternationalizationLibrary:SetCurrentCulture,KismetInternationalizationLibrary,SetCurrentCulture,2 LogBlueprintStats: /Script/Engine.KismetMathLibrary:LessEqual_IntInt,KismetMathLibrary,LessEqual_IntInt,2 LogBlueprintStats: /Script/Engine.KismetMathLibrary:MakeRotator,KismetMathLibrary,MakeRotator,2 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Lerp,KismetMathLibrary,Lerp,2 LogBlueprintStats: /Script/Engine.KismetMathLibrary:BooleanAND,KismetMathLibrary,BooleanAND,2 LogBlueprintStats: /Script/Engine.GameplayStatics:GetPlayerController,GameplayStatics,GetPlayerController,2 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Add_FloatFloat,KismetMathLibrary,Add_FloatFloat,2 LogBlueprintStats: /Script/Engine.KismetMathLibrary:SelectFloat,KismetMathLibrary,SelectFloat,2 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Conv_ColorToLinearColor,KismetMathLibrary,Conv_ColorToLinearColor,2 LogBlueprintStats: /Script/MagicLeapARPin.MagicLeapARPinFunctionLibrary:ARPinIdToString,MagicLeapARPinFunctionLibrary,ARPinIdToString,1 LogBlueprintStats: /Script/Engine.KismetSystemLibrary:CancelTransaction,KismetSystemLibrary,CancelTransaction,1 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Greater_IntInt,KismetMathLibrary,Greater_IntInt,1 LogBlueprintStats: /Script/Engine.KismetMathLibrary:EqualEqual_ObjectObject,KismetMathLibrary,EqualEqual_ObjectObject,1 LogBlueprintStats: /Script/Engine.SceneComponent:K2_SetWorldLocationAndRotation,SceneComponent,K2_SetWorldLocationAndRotation,1 LogBlueprintStats: /Script/Engine.GameplayStatics:GetPlayerCameraManager,GameplayStatics,GetPlayerCameraManager,1 LogBlueprintStats: /Script/Engine.KismetMathLibrary:RInterpTo,KismetMathLibrary,RInterpTo,1 LogBlueprintStats: /Script/Engine.SphereComponent:SetSphereRadius,SphereComponent,SetSphereRadius,1 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Max,KismetMathLibrary,Max,1 LogBlueprintStats: /Script/Engine.KismetSystemLibrary:BeginTransaction,KismetSystemLibrary,BeginTransaction,1 LogBlueprintStats: /Script/Engine.KismetSystemLibrary:EndTransaction,KismetSystemLibrary,EndTransaction,1 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Multiply_FloatFloat,KismetMathLibrary,Multiply_FloatFloat,1 LogBlueprintStats: /Script/Engine.KismetMaterialLibrary:CreateDynamicMaterialInstance,KismetMaterialLibrary,CreateDynamicMaterialInstance,1 LogBlueprintStats: /Script/Engine.KismetSystemLibrary:IsValid,KismetSystemLibrary,IsValid,1 LogBlueprintStats: /Script/Engine.KismetSystemLibrary:PrintString,KismetSystemLibrary,PrintString,1 LogBlueprintStats: /Engine/EngineSky/BP_Sky_Sphere.SKEL_BP_Sky_Sphere_C:RefreshMaterial,SKEL_BP_Sky_Sphere_C,RefreshMaterial,1 LogBlueprintStats: /Script/Engine.KismetMathLibrary:FindLookAtRotation,KismetMathLibrary,FindLookAtRotation,1 LogBlueprintStats: /Script/Engine.SceneComponent:K2_GetComponentLocation,SceneComponent,K2_GetComponentLocation,1 LogBlueprintStats: /Script/MagicLeapARPin.MagicLeapARPinFunctionLibrary:GetARPinState,MagicLeapARPinFunctionLibrary,GetARPinState,1 LogBlueprintStats: /Script/Engine.SceneComponent:K2_SetWorldRotation,SceneComponent,K2_SetWorldRotation,1 LogBlueprintStats: /Script/Engine.SceneComponent:K2_SetWorldLocation,SceneComponent,K2_SetWorldLocation,1 LogBlueprintStats: /Script/Engine.SceneComponent:K2_GetComponentRotation,SceneComponent,K2_GetComponentRotation,1 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Greater_FloatFloat,KismetMathLibrary,Greater_FloatFloat,1 LogBlueprintStats: /Script/Engine.PlayerCameraManager:GetCameraLocation,PlayerCameraManager,GetCameraLocation,1 LogBlueprintStats: /Script/Engine.KismetSystemLibrary:IsDedicatedServer,KismetSystemLibrary,IsDedicatedServer,1 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Multiply_IntInt,KismetMathLibrary,Multiply_IntInt,1 LogBlueprintStats: /Script/MagicLeapARPin.MagicLeapARPinFunctionLibrary:GetARPinPositionAndOrientation,MagicLeapARPinFunctionLibrary,GetARPinPositionAndOrientation,1 LogBlueprintStats: /Script/Engine.KismetMathLibrary:LinearColorLerp,KismetMathLibrary,LinearColorLerp,1 LogBlueprintStats: /Script/Engine.KismetMathLibrary:FClamp,KismetMathLibrary,FClamp,1 LogBlueprintStats: /Script/Engine.AnimInstance:TryGetPawnOwner,AnimInstance,TryGetPawnOwner,1 LogBlueprintStats: /Script/Engine.Actor:GetVelocity,Actor,GetVelocity,1 LogBlueprintStats: /Script/Engine.KismetMathLibrary:VSize,KismetMathLibrary,VSize,1 LogBlueprintStats: /Script/Engine.Pawn:GetMovementComponent,Pawn,GetMovementComponent,1 LogBlueprintStats: /Script/Engine.NavMovementComponent:IsFalling,NavMovementComponent,IsFalling,1 LogBlueprintStats: /Script/UMG.UserWidget:AddToViewport,UserWidget,AddToViewport,1 LogBlueprintStats: /Script/Engine.GameplayStatics:GetAllActorsOfClass,GameplayStatics,GetAllActorsOfClass,1 LogBlueprintStats: /Script/Engine.KismetMathLibrary:GreaterEqual_IntInt,KismetMathLibrary,GreaterEqual_IntInt,1 LogBlueprintStats: /Script/Engine.KismetMathLibrary:Subtract_FloatFloat,KismetMathLibrary,Subtract_FloatFloat,1 LogBlueprintStats: MacroPath,MacroName,NumInstances LogBlueprintStats: /Engine/EditorBlueprintResources/StandardMacros.StandardMacros:IsValid,IsValid,2 LogBlueprintStats: /Engine/EditorBlueprintResources/StandardMacros.StandardMacros:ForEachLoop,ForEachLoop,1