Navigation
API > API/Plugins > API/Plugins/PCG
Generate a grid of points along the surface of a sphere.
| Name | UPCGCreatePointsSphereSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGCreatePointsSphere.h |
| Include Path | #include "Elements/PCGCreatePointsSphere.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural))
class UPCGCreatePointsSphereSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGCreatePointsSphereSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPCGCreatePointsSphereSettings() |
Elements/PCGCreatePointsSphere.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCullPointsOutsideVolume | bool | Points are removed if they are outside the volume. | Elements/PCGCreatePointsSphere.h |
|
| CoordinateSpace | EPCGCoordinateSpace | Sets the generation referential of the points. | Elements/PCGCreatePointsSphere.h |
|
| GeodesicSubdivisions | int32 | Determines the number of subdivisions of the geodesic sphere. | Elements/PCGCreatePointsSphere.h |
|
| Jitter | double | Adds randomization (in the range of [-Jitter, Jitter]) of the angles of a generated point. | Elements/PCGCreatePointsSphere.h |
|
| LatitudinalEndAngle | double | Points will cease to be generated on the sphere's surface after this equatorial angle. | Elements/PCGCreatePointsSphere.h |
|
| LatitudinalSegments | int32 | Will determine the latitudinal angle between segments needed to generate this number of latitudinal segments. | Elements/PCGCreatePointsSphere.h |
|
| LatitudinalStartAngle | double | Points will be generated on the sphere's surface beginning at this equatorial angle. | Elements/PCGCreatePointsSphere.h |
|
| LongitudinalEndAngle | double | Points will cease to be generated on the sphere's surface after this meridional angle. | Elements/PCGCreatePointsSphere.h |
|
| LongitudinalSegments | int32 | Will determine the longitudinal angle between segments needed to generate this number of longitudinal segments. | Elements/PCGCreatePointsSphere.h |
|
| LongitudinalStartAngle | double | Points will be generated on the sphere's surface beginning at this meridional angle. | Elements/PCGCreatePointsSphere.h |
|
| Origin | FVector | The sphere's origin, around which the points will be generated. | Elements/PCGCreatePointsSphere.h |
|
| Phi | double | The longitudinal angle (in degrees) between generated segments on the standard sphere grid. | Elements/PCGCreatePointsSphere.h |
|
| PointLimit | int32 | Adds a graph error and prevents generation if the generated point count would exceed this amount. | Elements/PCGCreatePointsSphere.h |
|
| PointOrientation | EPCGSpherePointOrientation | Will determine the points' orientation, once generated. | Elements/PCGCreatePointsSphere.h |
|
| PointSteepness | float | Directly set as the output points' steepness value. | Elements/PCGCreatePointsSphere.h |
|
| PoissonDistance | double | The maximum world distance between points sampled on the sphere's surface during a Poisson sampling, in cm. | Elements/PCGCreatePointsSphere.h |
|
| PoissonMaxAttempts | int32 | Poisson sampling will continue to search for open positions until this limit is reached. | Elements/PCGCreatePointsSphere.h |
|
| Radius | double | The sphere's radius. | Elements/PCGCreatePointsSphere.h |
|
| SampleCount | int32 | Determines the number of samples generated for the random generation and the poisson sampling. | Elements/PCGCreatePointsSphere.h |
|
| SphereGeneration | EPCGSphereGeneration | Determines the type of sphere generated. | Elements/PCGCreatePointsSphere.h |
|
| Theta | double | The latitudinal angle (in degrees) between generated segments on the standard sphere grid. | Elements/PCGCreatePointsSphere.h |
|
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetDefaultNodeName() |
Elements/PCGCreatePointsSphere.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGCreatePointsSphere.h | ||
virtual FText GetNodeTooltipText() |
Elements/PCGCreatePointsSphere.h | ||
virtual EPCGSettingsType GetType() |
Elements/PCGCreatePointsSphere.h | ||
virtual bool UseSeed () |
By default, settings do not use a seed. | Elements/PCGCreatePointsSphere.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGCreatePointsSphere.h | ||
virtual TArray< FPCGPinProperties > InputPinProperties() |
Returns an array of all the input pin properties. You should not add manually a "params" pin, it is handled automatically by FillOverridableParamsPins. | Elements/PCGCreatePointsSphere.h | |
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/PCGCreatePointsSphere.h |