Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · member function

FOrreryTerrainFeatures::

MakePlate

A plate feature from a Blueprint plate.

Declaration

static bool MakePlate(const FOrreryTerrainPlateBP& Plate, const OrreryTerrain::Native::FContractFrame& Frame,
                      const OrreryTerrain::Native::FOwnerId& Owner, OrreryTerrain::Native::FFeature& OutFeature, FString* OutReason = nullptr);
Header
#include "OrreryTerrainFeatures.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
Any thread; the inputs are values. (the rule of FOrreryTerrainFeatures)

Parameters

NameTypeDefaultMeaning
Plateconst FOrreryTerrainPlateBP&—

World cm; at least three vertices.

Frameconst OrreryTerrain::Native::FContractFrame&—

The terrain's contract frame, FContractFrame(World.Config().Grid).

Ownerconst OrreryTerrain::Native::FOwnerId&—

Opaque owner.

OutFeatureOrreryTerrain::Native::FFeature&—

Receives the feature (Id 0).

OutReasonFString*nullptr

Why false was returned.

Returns

false when the plate has fewer than three vertices.