Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore
| Name | UGeometryScriptLibrary_RayFunctions |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/ShapeFunctions.h |
| Include Path | #include "GeometryScript/ShapeFunctions.h" |
Syntax
UCLASS (MinimalAPI, Meta=(ScriptName="GeometryScript_Ray"))
class UGeometryScriptLibrary_RayFunctions : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UGeometryScriptLibrary_RayFunctions
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| B | FVector | GeometryScript/ShapeFunctions.h | ||
| bDirectionIsNormalized | FVector bool | GeometryScript/ShapeFunctions.h | ||
| bInvert | FTransform bool | GeometryScript/ShapeFunctions.h | ||
| Box | FBox | GeometryScript/ShapeFunctions.h | ||
| Direction | FVector | GeometryScript/ShapeFunctions.h | ||
| Distance | double | GeometryScript/ShapeFunctions.h | ||
| Distance1 | FVector double double & | GeometryScript/ShapeFunctions.h | ||
| Distance2 | FVector double double double & | GeometryScript/ShapeFunctions.h | ||
| HitDistance | FBox double & | GeometryScript/ShapeFunctions.h | ||
| HitDistance | FPlane double & | GeometryScript/ShapeFunctions.h | ||
| LineDirection | FVectorFVector | GeometryScript/ShapeFunctions.h | ||
| LineOrigin | FVector | GeometryScript/ShapeFunctions.h | ||
| LineParameter | FVectorFVector double FVector double & | GeometryScript/ShapeFunctions.h | ||
| LinePoint | FVectorFVector double FVector double FVector & | GeometryScript/ShapeFunctions.h | ||
| Plane | FPlane | GeometryScript/ShapeFunctions.h | ||
| Point | FVector | GeometryScript/ShapeFunctions.h | ||
| RayParameter | FVectorFVector double & | GeometryScript/ShapeFunctions.h | ||
| RayPoint | FVectorFVector double FVector & | GeometryScript/ShapeFunctions.h | ||
| SegEndPoint | FVectorFVector | GeometryScript/ShapeFunctions.h | ||
| SegPoint | FVectorFVector double FVectorFVector & | GeometryScript/ShapeFunctions.h | ||
| SegStartPoint | FVector | GeometryScript/ShapeFunctions.h | ||
| SphereCenter | FVector | GeometryScript/ShapeFunctions.h | ||
| SphereRadius | FVector double | GeometryScript/ShapeFunctions.h | ||
| Transform | FTransform | GeometryScript/ShapeFunctions.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void GetRayStartEnd
(
FRay Ray, |
Get two points along the ray. | GeometryScript/ShapeFunctions.h |
|
static static UPARAM
(
DisplayName |
Create a Ray from two points, placing the Origin at A and the Direction as Normalize(B-A) | GeometryScript/ShapeFunctions.h |
|
static static UPARAM
(
DisplayName |
Create a Ray from an Origin and Direction, with optionally non-normalized Direction | GeometryScript/ShapeFunctions.h |
|
static static UPARAM
(
DisplayName |
Apply the given Transform to the given Ray, or optionally the Transform Inverse, and return the new transformed Ray | GeometryScript/ShapeFunctions.h |
|
static static UPARAM
(
DisplayName |
Get a Point at the given Distance along the Ray (Origin + Distance*Direction) | GeometryScript/ShapeFunctions.h |
|
static static UPARAM
(
DisplayName |
Project the given Point onto the closest point along the Ray, and return the Ray Parameter/Distance at that Point | GeometryScript/ShapeFunctions.h |
|
static static UPARAM
(
DisplayName |
Get the distance from Point to the closest point on the Ray | GeometryScript/ShapeFunctions.h |
|
static static UPARAM
(
DisplayName |
Get the closest point on the Ray to the given Point | GeometryScript/ShapeFunctions.h |
|
static static UPARAM
(
DisplayName |
Check if the Ray intersects a Sphere defined by the SphereCenter and SphereRadius. | GeometryScript/ShapeFunctions.h |
|
static static UPARAM
(
DisplayName |
Find the intersection of a Ray and a Box | GeometryScript/ShapeFunctions.h |
|
static static UPARAM
(
DisplayName |
Find the intersection of a Ray and a Plane | GeometryScript/ShapeFunctions.h |
|
static static UPARAM
(
DisplayName |
Compute the pair of closest points on a 3D Ray and Line. | GeometryScript/ShapeFunctions.h |
|
static static UPARAM
(
DisplayName |
Compute the pair of closest points on a 3D Ray and Line Segment The Line Segment is defined by its two Endpoints. | GeometryScript/ShapeFunctions.h |
|