Skip to content

UBoxPointBlueprintLibrary

Blueprint oriented helper functions for creating & inspecting Box Point InstancedStructs.

This library provides utility functions for creating and manipulating Box (continuous) Point instances from within Blueprints. These return TInstancedStruct<FBoxPoint>.

class UBoxPointBlueprintLibrary : public UBlueprintFunctionLibrary

Methods

ArrayToBoxPoint

static TInstancedStruct<FBoxPoint>
ArrayToBoxPoint(const TArray<float> &InValues)

Converts an array of float values to a box (continuous) point.

Parameters

  • InValues (const TArray<float>)

ArrayToBoxPointShaped

static TInstancedStruct<FBoxPoint>
ArrayToBoxPointShaped(const TArray<float> &InValues, const TArray<int> &InShape)

Converts an array of float values to a box (continuous) point with a specific shape.

Parameters

  • InValues (const TArray<float>)

  • InShape (const TArray<int>)


BoxPointToArray

static TArray<float>
BoxPointToArray(const TInstancedStruct<FBoxPoint> &InBoxPoint)

Converts a box point to an array of float values.

Parameters

  • InBoxPoint (const TInstancedStruct<FBoxPoint>)

VectorToBoxPoint

static TInstancedStruct<FBoxPoint> VectorToBoxPoint(const FVector &InVector)

Converts an FVector to a box point.

Parameters

  • InVector (const FVector)

BoxPointToVector

static FVector BoxPointToVector(const TInstancedStruct<FBoxPoint> &InBoxPoint)

Converts a box point to an FVector.

Parameters

  • InBoxPoint (const TInstancedStruct<FBoxPoint>)

RotatorToBoxPoint

static TInstancedStruct<FBoxPoint> RotatorToBoxPoint(const FRotator &InRotator)

Converts an FRotator to a box point.

Parameters

  • InRotator (const FRotator)

BoxPointToRotator

static FRotator BoxPointToRotator(const TInstancedStruct<FBoxPoint> &InBoxPoint)

Converts a box point to an FRotator.

Parameters

  • InBoxPoint (const TInstancedStruct<FBoxPoint>)

TransformToBoxPoint

static TInstancedStruct<FBoxPoint>
TransformToBoxPoint(const FTransform &InTransform)

Converts an FTransform to a box point.

Parameters

  • InTransform (const FTransform)

BoxPointToTransform

static FTransform
BoxPointToTransform(const TInstancedStruct<FBoxPoint> &InBoxPoint)

Converts a box point to an FTransform.

Parameters

  • InBoxPoint (const TInstancedStruct<FBoxPoint>)

Source: Source/Schola/Public/Points/Blueprint/BoxPointBlueprintLibrary.h