Skip to content

USpaceBlueprintLibrary

Blueprint helpers for inspecting Space InstancedStructs.

This library provides general utility functions for inspecting different types of Space instances from within Blueprints.

For type-specific functions (creation, conversion, etc.), see:UMultiBinarySpaceBlueprintLibrary for MultiBinary spaces UDiscreteSpaceBlueprintLibrary for Discrete spaces UMultiDiscreteSpaceBlueprintLibrary for MultiDiscrete spaces UBoxSpaceBlueprintLibrary for Box (continuous) spaces UDictSpaceBlueprintLibrary for Dictionary spaces

class USpaceBlueprintLibrary : public UBlueprintFunctionLibrary

Methods

Space_Type

static ESpaceType Space_Type(const FInstancedStruct &InSpace)

Gets the underlying kind/type of a space.

Parameters

  • InSpace (const FInstancedStruct)

Space_IsOfType

static bool Space_IsOfType(const FInstancedStruct &InSpace, ESpaceType InType)

Check if a space is of a specific type.

Parameters

  • InSpace (const FInstancedStruct)

  • InType (ESpaceType)


Space_Contains

static bool Space_Contains(const FInstancedStruct &InSpace,
const FInstancedStruct &InPoint)

Checks if a point is contained in a space.

Parameters

  • InSpace (const FInstancedStruct)

  • InPoint (const FInstancedStruct)

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