Navigation
API > API/Plugins > API/Plugins/RigVM
Returns the closest point intersection of a ray with another ray
| Name | FRigVMFunction_MathRayIntersectRay |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Math/RigVMFunction_MathRay.h |
| Include Path | #include "RigVMFunctions/Math/RigVMFunction_MathRay.h" |
Syntax
USTRUCT (Meta=(DisplayName="Intersect Ray", Keywords="Closest,Ray,Cross"))
struct FRigVMFunction_MathRayIntersectRay : public FRigVMFunction_MathRayBase
Inheritance Hierarchy
- FRigVMStruct → FRigVMFunction_MathBase → FRigVMFunction_MathRayBase → FRigVMFunction_MathRayIntersectRay
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigVMFunction_MathRayIntersectRay() |
RigVMFunctions/Math/RigVMFunction_MathRay.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| A | FRay | RigVMFunctions/Math/RigVMFunction_MathRay.h |
|
|
| B | FRay | RigVMFunctions/Math/RigVMFunction_MathRay.h |
|
|
| Distance | float | RigVMFunctions/Math/RigVMFunction_MathRay.h |
|
|
| RatioA | float | RigVMFunctions/Math/RigVMFunction_MathRay.h |
|
|
| RatioB | float | RigVMFunctions/Math/RigVMFunction_MathRay.h |
|
|
| Result | FVector | RigVMFunctions/Math/RigVMFunction_MathRay.h |
|
Functions
Public
Overridden from FRigVMStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Execute() |
Execute logic for this struct | RigVMFunctions/Math/RigVMFunction_MathRay.h |