Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/RandomStream.h |
Include |
#include "Math/RandomStream.h" |
Returns a random unit vector, uniformly distributed, within the specified cone.
Normalized vector within the specified cone.
Parameter |
Description |
---|---|
Dir |
The center direction of the cone |
HorizontalConeHalfAngleRad |
Horizontal half-angle of cone, in radians. |
VerticalConeHalfAngleRad |
Vertical half-angle of cone, in radians. |