Modular Turret C++ Plugin  Version 3
Turret C++ Unreal engine 4 plugin
UMortarBarrel Class Reference
+ Inheritance diagram for UMortarBarrel:
+ Collaboration diagram for UMortarBarrel:

Public Member Functions

void Elevate (const FVector &ElevateDirection)
 
void SetMaxDegreesElevationPerSecondSpeed (const float &ElevationSpeed)
 
void SetMaxElevationDegrees (const float &MaxElevationDegree)
 
void SetMinElevationDegrees (const float &MinElevationDegree)
 

Private Attributes

float MaxDegreesElevationPerSecond = 120.f
 
float MaxElevationDegrees = 70.f
 
float MinElevationDegrees = -30.f
 

Detailed Description

This is the top most Part of the Mortar From where The Projectile will actually fire. This mesh can move Vertically only

Member Function Documentation

◆ Elevate()

void UMortarBarrel::Elevate ( const FVector &  ElevateDirection)

Function to Elevate the barrel based on the speed mentioned based on The Direction Specified

Parameters
[in]ElevateDirectionFVector Containing Direction In which Barrel has to elevate

◆ SetMaxDegreesElevationPerSecondSpeed()

void UMortarBarrel::SetMaxDegreesElevationPerSecondSpeed ( const float &  ElevationSpeed)

Function to Set Maximum Elevation speed Per Second

Parameters
[in]ElevationSpeedMaximum Elevation Speed

◆ SetMaxElevationDegrees()

void UMortarBarrel::SetMaxElevationDegrees ( const float &  MaxElevationDegree)

Function to Set Maximum Elevation Degrees

Parameters
[in]MaxElevationDegreeMaximum Degree to Set for Elevation

◆ SetMinElevationDegrees()

void UMortarBarrel::SetMinElevationDegrees ( const float &  MinElevationDegree)

Function to Set Minimum Elevation Degrees

Parameters
[in]MinElevationDegreeMinimum Degree to Set for Elevation

Member Data Documentation

◆ MaxDegreesElevationPerSecond

float UMortarBarrel::MaxDegreesElevationPerSecond = 120.f
private

Maximum Elevation speed of barrel

◆ MaxElevationDegrees

float UMortarBarrel::MaxElevationDegrees = 70.f
private

Maximum Elevation of barrel

◆ MinElevationDegrees

float UMortarBarrel::MinElevationDegrees = -30.f
private

Minimum Elevation of barrel


The documentation for this class was generated from the following file: