Navigation
API > API/Plugins > API/Plugins/GeometryCollectionNodes
Returns a random vector with length of 1, within the specified cone, with uniform random distribution
| Name | FRandomUnitVectorInConeDataflowNode |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/GeometryCollectionPlugin/Source/GeometryCollectionNodes/Public/Dataflow/GeometryCollectionMathNodes.h |
| Include Path | #include "Dataflow/GeometryCollectionMathNodes.h" |
Syntax
USTRUCT (Meta=(DataflowGeometryCollection))
struct FRandomUnitVectorInConeDataflowNode : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FRandomUnitVectorInConeDataflowNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRandomUnitVectorInConeDataflowNode
(
const UE::Dataflow::FNodeParameters& InParam, |
Dataflow/GeometryCollectionMathNodes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers | |
|---|---|---|---|---|---|
| ConeDirection | FVector | The base "center" direction of the cone | Dataflow/GeometryCollectionMathNodes.h |
|
|
| ConeHalfAngle | float | The half-angle of the cone (from ConeDir to edge), in degrees | Dataflow/GeometryCollectionMathNodes.h |
|
|
| RandomSeed | DATAFLOW_NODE_DEFINE_INTERNAL(FRandomUnitVectorInConeDataflowNode, "RandomUnitVectorInCone", "Math | Random", "") public float | Dataflow/GeometryCollectionMathNodes.h |
|
|
| ReturnValue | FVector | Dataflow/GeometryCollectionMathNodes.h |
|
Functions
Public
Overridden from FDataflowNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Evaluate
(
UE::Dataflow::FContext& Context, |
Dataflow/GeometryCollectionMathNodes.h |