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