PlacementMode.AllowNonPrimitiveComponentHits
PlacementMode.AllowNonPrimitiveComponentHits
#Overview
name: PlacementMode.AllowNonPrimitiveComponentHits
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
When raycasting the world in placement mode, allow hits of physics objects that are not tied to a UPrimitiveComponent (to work with non-actor workflows).
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Editor/UnrealEd/Private/Editor/ActorPositioning.cpp:24
Scope (from outer to inner):
file
namespace ActorPositioningLocals
Source code excerpt:
bool bAllowNonPrimitiveComponentHits = true;
static FAutoConsoleVariableRef CVarAllowNonPrimitiveComponentHits(
TEXT("PlacementMode.AllowNonPrimitiveComponentHits"),
bAllowNonPrimitiveComponentHits,
TEXT("When raycasting the world in placement mode, allow hits of physics objects that are not tied to a UPrimitiveComponent (to work with non-actor workflows)."));
}
FActorPositionTraceResult FActorPositioning::TraceWorldForPositionWithDefault(const FViewportCursorLocation& Cursor, const FSceneView& View, const TArray<AActor*>* IgnoreActors)
{