Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/FCubeGrid
A face always refers to coordinates in the grid space. It is always on grid, and tied to a particular grid power.
| Name | FCubeFace |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/CubeGrid.h |
| Include Path | #include "Mechanics/CubeGrid.h" |
Syntax
class FCubeFace
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCubeFace () |
Mechanics/CubeGrid.h | ||
FCubeFace
(
const FVector3d& PointOnFace, |
Mechanics/CubeGrid.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Center | FVector3d | One of the components will always be an integer, and the other two will always be offset from an integer by 0.5, since this is the center of a cube grid face. | Mechanics/CubeGrid.h | |
| CubeGridPower | uint8 | Mechanics/CubeGrid.h | ||
| Direction | EFaceDirection | Mechanics/CubeGrid.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FVector3d & GetCenter() |
Mechanics/CubeGrid.h | ||
EFaceDirection GetDirection() |
Mechanics/CubeGrid.h | ||
FVector3d GetMaxCorner() |
Mechanics/CubeGrid.h | ||
FVector3d GetMinCorner() |
Mechanics/CubeGrid.h | ||
FVector3d GetNormal() |
Mechanics/CubeGrid.h | ||
uint8 GetSourceCubeGridPower() |
Mechanics/CubeGrid.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FCubeFace& Other |
Mechanics/CubeGrid.h | ||
bool operator==
(
const FCubeFace& Other |
Mechanics/CubeGrid.h |