Navigation
API > API/Plugins > API/Plugins/ModelingOperators > API/Plugins/ModelingOperators/CompositionOps > API/Plugins/ModelingOperators/CompositionOps/FCubeGridBooleanOp
Syntax
TArray< int32, TFixedAllocator< 6 > > FaceUVOrientations
Remarks
For each face of the op box (indexed as in IndexUtil::BoxFaces), determines the orientation in which the UV's should be assigned, which can be imagined as number of counterclockwise rotations of the face in the UV plane while keeping the corner labels the same.
For instance, the corner UV's for orientation 0 are (0,0), (width, 0), (width, height), (0, height), whereas for orientation 1 they are (height, 0), (height, width), (0, width), (0,0)
This is used to orient UV's in a uniform direction while extruding/pushing in different directions in the cube grid.