Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript
Inheritance Hierarchy
- UBlueprintFunctionLibrary
- UGeometryScriptLibrary_BoxFunctions
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/ShapeFunctions.h |
| Include | #include "GeometryScript/ShapeFunctions.h" |
Syntax
UCLASS (Meta=(ScriptName="GeometryScript_Box"))
class UGeometryScriptLibrary_BoxFunctions : public UBlueprintFunctionLibrary
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector bool | bConsiderOnBoxAsInside | ||
| FVector bool & | bIsInside | ||
| FBox bool & | bIsIntersecting | ||
| FBox | Box2 | ||
| int | CornerIndex | ||
| FVector | Dimensions | ||
| FVector | ExpandBy | ||
| FVector | Extents | ||
| int | FaceIndex | ||
| int FVector & | FaceNormal | ||
| FVector | Point | ||
| FVector | SphereCenter | ||
| FVector double | SphereRadius | ||
| FTransform | Transform |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | GetBoxCenterSize
(
FBox Box, |
Get the Center point and X/Y/Z Dimensions of a Box (full dimensions, not Extents) | |
| void | GetBoxVolumeArea
(
FBox Box, |
Get the Volume and Surface Area of a Box | |
| static | UPARAM
(
DisplayName |
Create a Box from a Center point and X/Y/Z Dimensions (not Extents, which are half-dimensions) | |
| static | UPARAM
(
DisplayName |
Create a Box from a Center point and X/Y/Z Extents (Extents are half-dimensions) | |
| static | UPARAM
(
DisplayName |
Get the position of a corner of the Box. | |
| static | UPARAM
(
DisplayName |
Get the position of the center of a face of the Box. | |
| static | UPARAM
(
DisplayName |
Get the input Box expanded by adding the ExpandBy parameter to both the Min and Max. | |
| static | UPARAM
(
DisplayName |
Apply the input Transform to the corners of the input Box, and return the new Box containing those points | |
| static | UPARAM
(
DisplayName |
Test if Box1 and Box2 intersect | |
| static | UPARAM
(
DisplayName |
Find the Box formed by the intersection of Box1 and Box2 | |
| static | UPARAM
(
DisplayName |
Calculate the minimum distance between Box1 and Box2 | |
| static | UPARAM
(
DisplayName |
Test if a Point is inside the Box, returning true if so, otherwise false | |
| static | UPARAM
(
DisplayName |
Find the point on the faces of the Box that is closest to the input Point. | |
| static | UPARAM
(
DisplayName |
Calculate the minimum distance between the Box and the Point | |
| static | UPARAM
(
DisplayName |
Check if the Box intersects a Sphere defined by the SphereCenter and SphereRadius |