Files
UnrealEngine/Engine/Source/Editor/Persona/Public/PersonaSelectionProxies.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

51 lines
1.0 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "GenericPlatform/ICursor.h"
#include "HAL/Platform.h"
#include "HitProxies.h"
#include "UObject/NameTypes.h"
#define UE_API PERSONA_API
class USkeletalMeshSocket;
struct HPersonaBoneHitProxy : public HHitProxy
{
DECLARE_HIT_PROXY( UE_API )
int32 BoneIndex;
FName BoneName;
HPersonaBoneHitProxy(int32 InBoneIndex, FName InBoneName)
: HHitProxy(HPP_Foreground)
, BoneIndex(InBoneIndex)
, BoneName(InBoneName)
{}
// HHitProxy interface
virtual EMouseCursor::Type GetMouseCursor() override { return EMouseCursor::Crosshairs; }
// End of HHitProxy interface
};
struct HPersonaSocketHitProxy : public HHitProxy
{
DECLARE_HIT_PROXY( UE_API )
USkeletalMeshSocket* Socket;
HPersonaSocketHitProxy(USkeletalMeshSocket* InSocket)
: HHitProxy(HPP_Foreground)
{
Socket = InSocket;
}
// HHitProxy interface
virtual EMouseCursor::Type GetMouseCursor() override { return EMouseCursor::Crosshairs; }
// End of HHitProxy interface
};
#undef UE_API