Skip to content

UDiscreteSpaceBlueprintLibrary

Blueprint oriented helper functions for creating & inspecting Discrete Space InstancedStructs.

This library provides utility functions for creating and manipulating Discrete Space instances from within Blueprints. These return TInstancedStruct<FDiscreteSpace>.

class UDiscreteSpaceBlueprintLibrary : public UBlueprintFunctionLibrary

Methods

Int32ToDiscreteSpace

static TInstancedStruct<FDiscreteSpace> Int32ToDiscreteSpace(int32 InHigh)

Converts an integer to a discrete space with a specified upper bound.

Parameters

  • InHigh (int32)

DiscreteSpaceToInt32

static int32
DiscreteSpaceToInt32(const TInstancedStruct<FDiscreteSpace> &InDiscreteSpace)

Converts a discrete space to its upper bound.

Parameters

  • InDiscreteSpace (const TInstancedStruct<FDiscreteSpace>)

Source: Source/Schola/Public/Spaces/Blueprint/DiscreteSpaceBlueprintLibrary.h