Navigation
Unreal Engine C++ API Reference > Runtime > Core > Math > FMath
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FVector | VRandCone
(
FVector const& Dir, |
Returns a random unit vector, uniformly distributed, within the specified cone ConeHalfAngleRad is the half-angle of cone, in radians. |
![]() ![]() |
FVector | VRandCone
(
FVector const& Dir, |
This is a version of VRandCone that handles "squished" cones, i.e. with different angle limits in the Y and Z axes. |