Show / Hide Table of Contents

    Struct FUxtPokePointerFocus

    Focus implementation for the poke pointers.

    Inherited Members
    FUxtPointerFocus::ClearFocus(UUxtNearPointerComponent *Pointer)
    FUxtPointerFocus::FindClosestPointOnComponent(UActorComponent *Target, const FVector &Point)
    FUxtPointerFocus::FindClosestTarget(const TArray<FOverlapResult> &Overlaps, const FVector &Point)
    FUxtPointerFocus::FindInterfaceComponent(AActor *Owner)
    FUxtPointerFocus::GetClosestTargetPoint()
    FUxtPointerFocus::GetFocusedPrimitive()
    FUxtPointerFocus::GetFocusedTarget()
    FUxtPointerFocus::GetFocusedTargetChecked()
    FUxtPointerFocus::SelectClosestPointOnTarget(UUxtNearPointerComponent *Pointer, const FTransform &PointerTransform, UActorComponent *NewTarget)
    FUxtPointerFocus::SelectClosestTarget(UUxtNearPointerComponent *Pointer, const FTransform &PointerTransform, const TArray<FOverlapResult> &Overlaps)
    FUxtPointerFocus::SetFocus(UUxtNearPointerComponent *Pointer, const FTransform &PointerTransform, UObject *NewTarget, UPrimitiveComponent *NewPrimitive, const FVector &NewClosestPointOnTarget)
    FUxtPointerFocus::UpdateClosestTarget(const FTransform &PointerTransform)
    FUxtPointerFocus::UpdateFocus(UUxtNearPointerComponent *Pointer)
    FUxtPointerFocus::~FUxtPointerFocus()
    Namespace:
    Assembly: .dll
    Syntax
    public: struct FUxtPokePointerFocus : public xtPointerFocus

    Methods

    | Improve this Doc View Source

    BeginPoke(UUxtNearPointerComponent *Pointer)

    Notify the target object that poke has started.

    Declaration
    public: void BeginPoke(UUxtNearPointerComponent *Pointer)
    Parameters
    Type Name Description
    UUxtNearPointerComponent * Pointer
    | Improve this Doc View Source

    EndPoke(UUxtNearPointerComponent *Pointer)

    Notify the target object that poke has ended.

    Declaration
    public: void EndPoke(UUxtNearPointerComponent *Pointer)
    Parameters
    Type Name Description
    UUxtNearPointerComponent * Pointer
    | Improve this Doc View Source

    GetClosestPointOnTarget(const UActorComponent *Target, const UPrimitiveComponent *Primitive, const FVector &Point, FVector &OutClosestPoint)

    Find the closest point on the given primitive using the distance function of the target interface.

    Declaration
    protected: virtual bool GetClosestPointOnTarget(const UActorComponent *Target, const UPrimitiveComponent *Primitive, const FVector &Point, FVector &OutClosestPoint) const override
    Parameters
    Type Name Description
    const UActorComponent * Target
    const UPrimitiveComponent * Primitive
    const FVector & Point
    FVector & OutClosestPoint
    Returns
    Type Description
    bool
    Overrides
    FUxtPointerFocus::GetClosestPointOnTarget(const UActorComponent *Target, const UPrimitiveComponent *Primitive, const FVector &Point, FVector &OutClosestPoint)
    | Improve this Doc View Source

    GetInterfaceClass()

    Get the interface class that targets for the pointer must implement.

    Declaration
    protected: virtual UClass * GetInterfaceClass() const override
    Returns
    Type Description
    UClass *
    Overrides
    FUxtPointerFocus::GetInterfaceClass()
    | Improve this Doc View Source

    ImplementsTargetInterface(UObject *Target)

    Returns true if the given object implements the required target interface.

    Declaration
    protected: virtual bool ImplementsTargetInterface(UObject *Target) const override
    Parameters
    Type Name Description
    UObject * Target
    Returns
    Type Description
    bool
    Overrides
    FUxtPointerFocus::ImplementsTargetInterface(UObject *Target)
    | Improve this Doc View Source

    IsPoking()

    Declaration
    public: bool IsPoking() const
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    RaiseEnterFocusEvent(UObject *Target, UUxtNearPointerComponent *Pointer)

    Notify the target object that it has entered focus.

    Declaration
    protected: virtual void RaiseEnterFocusEvent(UObject *Target, UUxtNearPointerComponent *Pointer) const override
    Parameters
    Type Name Description
    UObject * Target
    UUxtNearPointerComponent * Pointer
    Overrides
    FUxtPointerFocus::RaiseEnterFocusEvent(UObject *Target, UUxtNearPointerComponent *Pointer)
    | Improve this Doc View Source

    RaiseExitFocusEvent(UObject *Target, UUxtNearPointerComponent *Pointer)

    Notify the target object that it has exited focus.

    Declaration
    protected: virtual void RaiseExitFocusEvent(UObject *Target, UUxtNearPointerComponent *Pointer) const override
    Parameters
    Type Name Description
    UObject * Target
    UUxtNearPointerComponent * Pointer
    Overrides
    FUxtPointerFocus::RaiseExitFocusEvent(UObject *Target, UUxtNearPointerComponent *Pointer)
    | Improve this Doc View Source

    RaiseUpdateFocusEvent(UObject *Target, UUxtNearPointerComponent *Pointer)

    Notify the focused target object that the pointer has been updated.

    Declaration
    protected: virtual void RaiseUpdateFocusEvent(UObject *Target, UUxtNearPointerComponent *Pointer) const override
    Parameters
    Type Name Description
    UObject * Target
    UUxtNearPointerComponent * Pointer
    Overrides
    FUxtPointerFocus::RaiseUpdateFocusEvent(UObject *Target, UUxtNearPointerComponent *Pointer)
    | Improve this Doc View Source

    UpdatePoke(UUxtNearPointerComponent *Pointer)

    Notify the poked target object that the pointer has been updated.

    Declaration
    public: void UpdatePoke(UUxtNearPointerComponent *Pointer)
    Parameters
    Type Name Description
    UUxtNearPointerComponent * Pointer
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX