FSphereGenerator

Generate a sphere mesh, with UVs wrapped cylindrically

Windows
MacOS
Linux

Inheritance Hierarchy

FMeshShapeGenerator

FSphereGenerator

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Generators/SphereGenerator.h

Include

#include "Generators/SphereGenerator.h"

Syntax

class FSphereGenerator : public FMeshShapeGenerator

Remarks

Generate a sphere mesh, with UVs wrapped cylindrically

Variables

Name Description

Public variable

bool

 

bPolygroupPerQuad

If true, each quad of sphere gets a separate polygroup

Public variable

int

 

NumPhi

Public variable

int

 

NumTheta

Public variable

double

 

Radius

Radius

Functions

Name Description

Public function Static

FVector3d

 

SphericalToCartesian

(
    double r,
    double theta,
    double phi
)

Overridden from FMeshShapeGenerator

Name Description

Public function Virtual

FMeshShapeGe...

 

Generate()

Generate the mesh

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss