IUxtPokeTarget
Interface to implement to enable poke interaction for given primitives.
class IUxtPokeTarget;
Header
#include <UxtPokeTarget.h>
Inheritance
Inherited by UUxtPressableButtonComponent, UUxtTouchableVolumeComponent, UUxtWidgetComponent
Public Functions
Name | |
---|---|
bool | IsPokeFocusable(const UPrimitiveComponent * Primitive) const |
EUxtPokeBehaviour | GetPokeBehaviour() const |
bool | GetClosestPoint(const UPrimitiveComponent * Primitive, const FVector & Point, FVector & OutClosestPoint, FVector & OutNormal) const |
Public Functions Documentation
function IsPokeFocusable
bool IsPokeFocusable(
const UPrimitiveComponent * Primitive
) const
Returns true if the given primitive should be considerered a valid focus target.
function GetPokeBehaviour
EUxtPokeBehaviour GetPokeBehaviour() const
Returns which poke behaviour this target supports.
function GetClosestPoint
bool GetClosestPoint(
const UPrimitiveComponent * Primitive,
const FVector & Point,
FVector & OutClosestPoint,
FVector & OutNormal
) const
Returns the closest point to Point on the given Primitive. Also provides the surface normal.
Updated on 19 August 2021 at 17:42:51 Coordinated Universal Time