Show / Hide Table of Contents

    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 2 November 2021 at 11:40:25 Coordinated Universal Time

    • Improve this Doc
    Back to top Generated by DocFX