FCylinderSpecializeSamplingHelper

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Cylinder.h

Include

#include "Chaos/Cylinder.h"

Syntax

struct FCylinderSpecializeSamplingHelper

Functions

Name Description

Public function Static

void

 

ComputeGoldenSpiralPoints

(
    TArray< FVec3 >& Points,
    const FCylinder& Cylinder,
    const int32 NumPoints,
    const bool IncludeEndCaps
)

Public function Static

void

 

ComputeGoldenSpiralPoints

(
    TArray< FVec3 >& Points,
    const FVec3& Origin,
    const FVec3& Axis,
    const FReal Radius,
    const FReal Height,
    const int32 NumPoints,
    const bool IncludeEndCaps,
    int32 SpiralSeed
)

Use the golden spiral method to generate evenly spaced points on a cylinder.

Public function Static

void

 

ComputeGoldenSpiralPointsUnoriented

(
    TArray< FVec3 >& Points,
    const FReal Radius,
    const FReal Height,
    const int32 NumPoints,
    const bool IncludeEndCaps,
    int32 SpiralSeed
)

Generates evenly spaced points on a cylinder, oriented about the Z axis, varying from [-Height/2, Height/2].

Public function Static

void

 

ComputeSamplePoints

(
    TArray< FVec3 >& Points,
    const FCylinder& Cylinder,
    const int32 NumPoints,
    const bool IncludeEndCaps
)

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