Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UGeometryScriptLibrary_BoxFunctions
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/ShapeFunctions.h |
| Include | #include "GeometryScript/ShapeFunctions.h" |
Syntax
UCLASS&40;Meta&61;&40;ScriptName&61;"GeometryScript_Box"&41;&41;
class UGeometryScriptLibrary_BoxFunctions : public UBlueprintFunctionLibrary
Functions
| Type | Name | Description | |
|---|---|---|---|
| FBox | FindBoxBoxIntersection
(
FBox Box1, |
Find the Box formed by the intersection of Box1 and Box2 | |
| FVector | FindClosestPointOnBox
(
FBox Box, |
Find the point on the faces of the Box that is closest to the input Point. | |
| double | GetBoxBoxDistance
(
FBox Box1, |
Calculate the minimum distance between Box1 and Box2 | |
| void | GetBoxCenterSize
(
FBox Box, |
Get the Center point and X/Y/Z Dimensions of a Box (full dimensions, not Extents) | |
| FVector | GetBoxCorner
(
FBox Box, |
Get the position of a corner of the Box. | |
| FVector | GetBoxFaceCenter
(
FBox Box, |
Get the position of the center of a face of the Box. | |
| double | GetBoxPointDistance
(
FBox Box, |
Calculate the minimum distance between the Box and the Point | |
| void | GetBoxVolumeArea
(
FBox Box, |
Get the Volume and Surface Area of a Box | |
| FBox | GetExpandedBox
(
FBox Box, |
Get the input Box expanded by adding the ExpandBy parameter to both the Min and Max. | |
| FBox | GetTransformedBox
(
FBox Box, |
Apply the input Transform to the corners of the input Box, and return the new Box containing those points | |
| FBox | MakeBoxFromCenterExtents
(
FVector Center, |
Create a Box from a Center point and X/Y/Z Extents (Extents are half-dimensions) | |
| FBox | MakeBoxFromCenterSize
(
FVector Center, |
Create a Box from a Center point and X/Y/Z Dimensions (not Extents, which are half-dimensions) | |
| bool | TestBoxBoxIntersection
(
FBox Box1, |
Test if Box1 and Box2 intersect | |
| bool | TestBoxSphereIntersection
(
FBox Box, |
Check if the Box intersects a Sphere defined by the SphereCenter and SphereRadius | |
| bool | TestPointInsideBox
(
FBox Box, |
Test if a Point is inside the Box, returning true if so, otherwise false |