Hi everyone,
I’m using a UPrimitiveComponent “extended/using” a FScneViewProxy() to draw meshes
There is some way of getting mouseclick () events or get hit proxies on primitives draw with FDynamicMeshBuilder ?
On docs FDynamicMeshBuilder::GetMesh | Unreal Engine Documentation we have a parameter with HHitProxy* that can we pass when use GetMesh(…)
GetMesh
(
const FMatrix & LocalToWorld,
const FMaterialRenderProxy * MaterialRenderProxy,
uint8 DepthPriorityGroup,
bool bDisableBackfaceCulling,
bool bReceivesDecals,
bool bUseSelectionOutline,
int32 ViewIndex,
FMeshElementCollector & Collector,
HHitProxy * HitProxy
)
But how can I get That HitProxy* on other parts of code not only on CustomMeshComponent using a FSceneProxy(), for example how can I get the Hitproxy value on Actor that have the component ?
Thanks