Struct FUxtGrabPointerFocus
Focus implementation for the grab pointers.
Namespace:
Assembly: .dll
Syntax
public: struct FUxtGrabPointerFocus : public xtPointerFocus
Methods
|
Improve this Doc
View Source
BeginGrab(UUxtNearPointerComponent *Pointer)
Notify the target object that grab has started.
Declaration
public: void BeginGrab(UUxtNearPointerComponent *Pointer)
Parameters
|
Improve this Doc
View Source
EndGrab(UUxtNearPointerComponent *Pointer)
Notify the target object that grab has ended.
Declaration
public: void EndGrab(UUxtNearPointerComponent *Pointer)
Parameters
|
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
Overrides
|
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
|
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
Overrides
|
Improve this Doc
View Source
IsGrabbing()
Declaration
public: bool IsGrabbing() const
Returns
|
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
Overrides
|
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
Overrides
|
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
Overrides
|
Improve this Doc
View Source
UpdateGrab(UUxtNearPointerComponent *Pointer)
Notify the grabbed target object that the pointer has been updated.
Declaration
public: void UpdateGrab(UUxtNearPointerComponent *Pointer)
Parameters