UPlaneDistanceFromHitMechanic::Initialize

Set the hit target mesh and the plane frame.

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/PlaneDistanceFromHitMechanic.h

Include

#include "Mechanics/PlaneDistanceFromHitMechanic.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/Mechanics/PlaneDistanceFromHitMechanic.cpp

Syntax

virtual void Initialize
(
    FDynamicMesh3 && HitTargetMesh,
    const FFrame3d & PlaneFrameWorld,
    bool bMeshInWorldCoords
)

Remarks

Set the hit target mesh and the plane frame. Distance is measured along Z axis. If bMeshInWorldCoords is true, then HitTargetMesh is in world coords. Otherwise we assume it is in local coords of PlaneFrameWorld

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss