Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetMathLibrary
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FVector | RandomUnitVectorInConeInRadiansFromStream
(
const FRandomStream& Stream, |
Returns a random vector with length of 1, within the specified cone, with uniform random distribution. |
![]() ![]() |
FVector | RandomUnitVectorInConeInRadiansFromStream
(
const FVector& ConeDir, |
Use RandomUnitVectorInConeInRadiansFromStream taking the FRandomStream as the first argument. |