Blueprint: Math Library

CalculateOrbitPoints

BP_CalculateOrbitPoints
  • Calculate an array of locations for a orbit

  • Can it called by Blueprint: YES

  • Blueprint type: BlueprintPure

Function

static TArray<FVector> CalculateOrbitPoints(float Ellipse = 1.0f, float Radius = 1000.0f, float Tilt = 0.0f, int PointCount = 12);
Input Description

float Ellipse

Ellipse of the orbit

float Radius

Radius of the orbit

float Tilt

Tilt of the orbit

int PointCount

count of locations

Output Description

TArray<FVector> Return

Array of the location in the orbit

CalculateItemsPerMin

BP_CalculateItemsPerMin
  • Calculate the item per minutes value

  • Can it called by Blueprint: YES

  • Blueprint type: BlueprintPure

Function

static float CalculateItemsPerMin(int ItemCount, float ProductionTime);
Input Description

int ItemCount

Item count for one cycle

float ProductionTime

Time of a production cycle

Output Description

float Return

Items per minute

CalculateM3PerMin

BP_CalculateM3PerMin
  • Calculate the item per minutes value (in m³)

  • Can it called by Blueprint: YES

  • Blueprint type: BlueprintPure

Function

static float CalculateM3PerMin(int ItemCount, float ProductionTime);
Input Description

int ItemCount

Item count for one cycle

float ProductionTime

Time of a production cycle

Output Description

float Return

Items per minute (in m³)

CalculateM3PerMinForWidget

BP_CalculateM3PerMinForWidget
  • Calculate the item per minutes for the fluid widget input

  • Can it called by Blueprint: YES

  • Blueprint type: BlueprintPure

Function

static float CalculateM3PerMinForWidget(int ItemCount, float ProductionTime);
Input Description

int ItemCount

Item count for one cycle

float ProductionTime

Time of a production cycle

Output Description

float Return

Items per minute for the fluid widget input