Description
RandomUnitVectorInCone (v1)
Returns a random vector with length of 1, within the specified cone, with uniform random distribution
Input(s) :
ConeDirection - The base "center" direction of the cone
ConeHalfAngle - The half-angle of the cone (from ConeDir to edge), in degrees
Parameters
| Name |
Description |
Permitted Types |
Default Value |
| bDeterministic |
|
bool |
False |
| Name |
Description |
Permitted Types |
Default Value |
| RandomSeed |
|
float |
-56694.234375 |
| ConeDirection |
The base "center" direction of the cone |
FVector |
(X=0.000000,Y=0.000000,Z=1.000000) |
| ConeHalfAngle |
The half-angle of the cone (from ConeDir to edge), in degrees |
float |
0.785398 |
Outputs
| Name |
Description |
Permitted Types |
Default Value |
| ReturnValue |
|
FVector |
|