#include <BaseVegetationActor.h>
Public Member Functions | |
virtual void | BeginPlay () override |
void | GetParametersFromComponent () |
void | SetParametersToComponent () |
void | UpdateSkeletonAndParameters () |
Public Attributes | |
FSpringBasedVegetationParameters | SpringParameters |
Definition at line 77 of file BaseVegetationActor.h.
|
overridevirtual |
Definition at line 12 of file BaseVegetationActor.cpp.
void ABaseVegetationActor::GetParametersFromComponent | ( | ) |
Definition at line 18 of file BaseVegetationActor.cpp.
References FSpringBasedVegetationParameters::Alpha, FSpringBasedVegetationParameters::BaseSpringStrength, FSpringBasedVegetationParameters::bAutoComputeStrength, FSpringBasedVegetationParameters::Beta, FSpringBasedVegetationParameters::CapsuleRadius, FSpringBasedVegetationParameters::CollisionForceMinVel, FSpringBasedVegetationParameters::CollisionForceParameter, FSpringBasedVegetationParameters::DeltaTimeOverride, FSpringBasedVegetationParameters::ForceDistanceFalloffExponent, FSpringBasedVegetationParameters::ForceMaxDistance, FSpringBasedVegetationParameters::Gravity, FSpringBasedVegetationParameters::HorizontalFallof, FSpringBasedVegetationParameters::LineTraceMaxDistance, FSpringBasedVegetationParameters::MinBoneLength, FSpringBasedVegetationParameters::MinForceFactor, FSpringBasedVegetationParameters::MinSpringStrength, FSpringBasedVegetationParameters::RestFactor, FSpringBasedVegetationParameters::Skeleton, SpringParameters, FSpringBasedVegetationParameters::SpringStrengthMulFactor, FSpringBasedVegetationParameters::VehicleCenterZOffset, and FSpringBasedVegetationParameters::VerticalFallof.
Referenced by UpdateSkeletonAndParameters().
void ABaseVegetationActor::SetParametersToComponent | ( | ) |
Definition at line 58 of file BaseVegetationActor.cpp.
References FSpringBasedVegetationParameters::Alpha, FSpringBasedVegetationParameters::BaseSpringStrength, FSpringBasedVegetationParameters::bAutoComputeStrength, FSpringBasedVegetationParameters::Beta, FSpringBasedVegetationParameters::CapsuleRadius, FSpringBasedVegetationParameters::CollisionForceMinVel, FSpringBasedVegetationParameters::CollisionForceParameter, FSpringBasedVegetationParameters::DeltaTimeOverride, FSpringBasedVegetationParameters::ForceDistanceFalloffExponent, FSpringBasedVegetationParameters::ForceMaxDistance, FSpringBasedVegetationParameters::Gravity, FSpringBasedVegetationParameters::HorizontalFallof, FSpringBasedVegetationParameters::LineTraceMaxDistance, FSpringBasedVegetationParameters::MinBoneLength, FSpringBasedVegetationParameters::MinForceFactor, FSpringBasedVegetationParameters::MinSpringStrength, FSpringBasedVegetationParameters::RestFactor, FSpringBasedVegetationParameters::Skeleton, SpringParameters, FSpringBasedVegetationParameters::SpringStrengthMulFactor, FSpringBasedVegetationParameters::VehicleCenterZOffset, and FSpringBasedVegetationParameters::VerticalFallof.
Referenced by FSkeletonHierarchy::ClearExternalForces(), and UpdateSkeletonAndParameters().
void ABaseVegetationActor::UpdateSkeletonAndParameters | ( | ) |
Definition at line 94 of file BaseVegetationActor.cpp.
References GetParametersFromComponent(), and SetParametersToComponent().
FSpringBasedVegetationParameters ABaseVegetationActor::SpringParameters |
Definition at line 86 of file BaseVegetationActor.h.
Referenced by GetParametersFromComponent(), and SetParametersToComponent().