This page is not available in the language you have chosen. It will be displayed in English by default. If you would like to view it in a different language, you can try selecting another language.
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
Information
| Module | GeometryCollectionNodes |
| Category | Math|Random |
| Type | FRandomUnitVectorInConeDataflowNode |
Parameters
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| bDeterministic | bool | False |
Inputs
| 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 |