Class FUxtInteractionUtils
Inheritance
System::Object
FUxtInteractionUtils
Namespace:
Assembly: .dll
Syntax
public: class FUxtInteractionUtils
Methods
| Improve this Doc View SourceGetDefaultClosestPointOnPrimitive(const UPrimitiveComponent *Primitive, const FVector &Point, FVector &OutPointOnSurface, float &OutDistanceSqr)
Calculates the point on the target surface that is closest to the point passed in. Return value indicates whether a point was found.
Declaration
public: static bool GetDefaultClosestPointOnPrimitive(const UPrimitiveComponent *Primitive, const FVector &Point, FVector &OutPointOnSurface, float &OutDistanceSqr)
Parameters
Type | Name | Description |
---|---|---|
const UPrimitiveComponent * | Primitive | |
const FVector & | Point | |
FVector & | OutPointOnSurface | |
float & | OutDistanceSqr |
Returns
Type | Description |
---|---|
bool |