#include <MortarProBarrelMeshComponent.h>
This is the top most Part of the Mortar From where The Projectile will actually fire. This mesh can only elevate
◆ Elevate()
| void UMortarProBarrelMeshComponent::Elevate |
( |
const FVector & |
ElevateDirection | ) |
|
Function to Elevate the barrel based on the speed mentioned based on The Direction Specified
- Parameters
-
| [in] | ElevateDirection | FVector Containing Direction In which Barrel has to elevate |
◆ GetMaxElevationDegrees()
| float UMortarProBarrelMeshComponent::GetMaxElevationDegrees |
( |
| ) |
const |
Getter Function to Get Max Elevation Degrees the barrel can go upto
- Returns
- MaxElevationDegrees in float
◆ GetMaxElevationSpeed()
| float UMortarProBarrelMeshComponent::GetMaxElevationSpeed |
( |
| ) |
const |
Getter Function to Get Maximum Elevation speed Per Second
- Returns
- ElevationSpeed in float
◆ GetMinElevationDegrees()
| float UMortarProBarrelMeshComponent::GetMinElevationDegrees |
( |
| ) |
const |
Getter Function to Get Min Elevation Degrees the barrel can go
- Returns
- MinElevationDegrees in float
◆ SetMaxElevationDegrees()
| void UMortarProBarrelMeshComponent::SetMaxElevationDegrees |
( |
const float & |
MaxElevationDegree | ) |
|
Function to Set Maximum Elevation Degrees
- Parameters
-
| [in] | MaxElevationDegree | Maximum Degree to Set for Elevation |
◆ SetMaxElevationSpeed()
| void UMortarProBarrelMeshComponent::SetMaxElevationSpeed |
( |
const float & |
ElevationSpeed | ) |
|
Function to Set Maximum Elevation speed Per Second
- Parameters
-
| [in] | ElevationSpeed | Maximum Elevation Speed |
◆ SetMinElevationDegrees()
| void UMortarProBarrelMeshComponent::SetMinElevationDegrees |
( |
const float & |
MinElevationDegree | ) |
|
Function to Set Minimum Elevation Degrees
- Parameters
-
| [in] | MinElevationDegree | Minimum Degree to Set for Elevation |
◆ MaxElevationDegrees
| float UMortarProBarrelMeshComponent::MaxElevationDegrees = 70.f |
|
protected |
Maximum Elevation of barrel. Lies between -180 to 180
◆ MaxElevationSpeed
| float UMortarProBarrelMeshComponent::MaxElevationSpeed = 180.f |
|
protected |
Maximum Elevation speed of barrel. Clamped Minimum to 0
◆ MinElevationDegrees
| float UMortarProBarrelMeshComponent::MinElevationDegrees = -30.f |
|
protected |
Minimum Elevation of barrel.Lies between -180 to 180
The documentation for this class was generated from the following file:
- Public/Components/MortarProBarrelMeshComponent.h