Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Mechanics > API/Plugins/ModelingComponents/Mechanics/UPlaneDistanceFromHitMechanic > API/Plugins/ModelingComponents/Mechanics/UPlaneDistanceFromHitMechanic/Initialize
References
Module | ModelingComponents |
Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/PlaneDistanceFromHitMechanic.h |
Include | #include "Mechanics/PlaneDistanceFromHitMechanic.h" |
Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Mechanics/PlaneDistanceFromHitMechanic.cpp |
virtual void Initialize
&40;
UE::Geometry::FDynamicMesh3 && HitTargetMesh,
const FFrame3d & PlaneFrameWorld,
const FTransform & MeshToPlaneFrame
&41;
Remarks
Set the hit target mesh and the plane frame. Distance is measured along Z axis. Applies MeshToPlaneFrame to transform the HitTargetMesh to the local space of PlaneFrameWorld