Navigation
API > API/Plugins > API/Plugins/RigVM
Find the point on the plane that is closest to the given point and the distance between them.
| Name | FRigVMFunction_MathDistanceToPlane |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Math/RigVMFunction_MathVector.h |
| Include Path | #include "RigVMFunctions/Math/RigVMFunction_MathVector.h" |
Syntax
USTRUCT (Meta=(DisplayName="Distance To Plane", Keywords="Distance,Plane,Closest,Project"))
struct FRigVMFunction_MathDistanceToPlane : public FRigVMFunction_MathVectorBase
Inheritance Hierarchy
- FRigVMStruct → FRigVMFunction_MathBase → FRigVMFunction_MathVectorBase → FRigVMFunction_MathDistanceToPlane
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigVMFunction_MathDistanceToPlane() |
RigVMFunctions/Math/RigVMFunction_MathVector.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ClosestPointOnPlane | FVector | The resulting closest point on the plane. | RigVMFunctions/Math/RigVMFunction_MathVector.h |
|
| PlaneNormal | FVector | The normal of the plane to measure against. | RigVMFunctions/Math/RigVMFunction_MathVector.h |
|
| PlanePoint | FVector | A point on the plane to measure against. | RigVMFunctions/Math/RigVMFunction_MathVector.h |
|
| Point | FVector | The point to measure against the plane. | RigVMFunctions/Math/RigVMFunction_MathVector.h |
|
| SignedDistance | float | The distance to the plane as a signed (positive or negative) value. | RigVMFunctions/Math/RigVMFunction_MathVector.h |
|
Functions
Public
Public Virtual
Overridden from FRigVMStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
Execute logic for this struct | RigVMFunctions/Math/RigVMFunction_MathVector.h |