![]() |
Modular Turret C++ Plugin
Version 3
Turret C++ Unreal engine 4 plugin
|
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 |
This is the top most Part of the Mortar From where The Projectile will actually fire. This mesh can move Vertically only
| void UMortarBarrel::Elevate | ( | const FVector & | ElevateDirection | ) |
Function to Elevate the barrel based on the speed mentioned based on The Direction Specified
| [in] | ElevateDirection | FVector Containing Direction In which Barrel has to elevate |
| void UMortarBarrel::SetMaxDegreesElevationPerSecondSpeed | ( | const float & | ElevationSpeed | ) |
Function to Set Maximum Elevation speed Per Second
| [in] | ElevationSpeed | Maximum Elevation Speed |
| void UMortarBarrel::SetMaxElevationDegrees | ( | const float & | MaxElevationDegree | ) |
Function to Set Maximum Elevation Degrees
| [in] | MaxElevationDegree | Maximum Degree to Set for Elevation |
| void UMortarBarrel::SetMinElevationDegrees | ( | const float & | MinElevationDegree | ) |
Function to Set Minimum Elevation Degrees
| [in] | MinElevationDegree | Minimum Degree to Set for Elevation |
|
private |
Maximum Elevation speed of barrel
|
private |
Maximum Elevation of barrel
|
private |
Minimum Elevation of barrel