#include <SpringBasedVegetationComponent.h>
Public Member Functions | |
void | AddForce (const FString &BoneName, const FVector &Force) |
void | Clear () |
void | ClearExternalForces () |
void | ComputeChildrenJointsAndBones () |
void | ComputeEndJoints () |
FSkeletonJoint & | GetRootJoint () |
Public Attributes | |
TArray< int > | EndJoints |
TArray< int > | EndToRootOrder |
TArray< FSkeletonJoint > | Joints |
TArray< int > | RootToEndOrder |
Definition at line 106 of file SpringBasedVegetationComponent.h.
void FSkeletonHierarchy::AddForce | ( | const FString & | BoneName, |
const FVector & | Force | ||
) |
Definition at line 217 of file SpringBasedVegetationComponent.cpp.
References Joints.
void FSkeletonHierarchy::Clear | ( | void | ) |
Definition at line 140 of file SpringBasedVegetationComponent.cpp.
References EndJoints, EndToRootOrder, Joints, and RootToEndOrder.
void FSkeletonHierarchy::ClearExternalForces | ( | ) |
Definition at line 228 of file SpringBasedVegetationComponent.cpp.
References ACC_LOG, FSkeletonJoint::AngularAcceleration, FJointProperties::AngularAcceleration, FSkeletonJoint::AngularVelocity, FJointProperties::AngularVelocity, FSkeletonJoint::bIsStatic, FSkeletonJoint::Bones, FJointCollision::CanRest, FSkeletonBone::CenterOfMass, FJointProperties::CenterOfMass, FSkeletonJoint::ChildrenIds, COLLISION_LOG, FSkeletonJoint::CollisionForceProportionalFactor, EigenToFString(), EigenVectorToRotator(), FSkeletonJoint::ExternalForces, FICT_LOG, FJointProperties::FictitiousTorque, FJointProperties::Force, GetDeltaRotator(), FSkeletonJoint::GlobalTransform, FSkeletonJoint::GolbalInverseTransform, FJointProperties::InertiaTensor, IsValid(), FJointCollision::Iteration, FSkeletonJoint::JointId, FSkeletonJoint::JointName, Joints, FJointProperties::JointToGlobalMatrix, FSkeletonBone::Length, FJointProperties::LinearAcceleration, FJointProperties::LinearVelocity, FSkeletonBone::Mass, FSkeletonJoint::Mass, FJointProperties::Mass, OTHER_LOG, OuterProduct(), FSkeletonJoint::ParentId, FSkeletonJoint::RestingAngles, RotatorToEigenVector(), ABaseVegetationActor::SetParametersToComponent(), UWalkerAnim::Snap, SOLVER_LOG, FSkeletonJoint::SpringStrength, ToEigenMatrix(), ToEigenVector(), FJointProperties::Torque, ToUnrealVector(), FSkeletonJoint::Transform, and Vehicle.
void FSkeletonHierarchy::ComputeChildrenJointsAndBones | ( | ) |
Definition at line 147 of file SpringBasedVegetationComponent.cpp.
References FSkeletonJoint::ChildrenIds, Joints, OTHER_LOG, and FSkeletonJoint::ParentId.
void FSkeletonHierarchy::ComputeEndJoints | ( | ) |
Definition at line 170 of file SpringBasedVegetationComponent.cpp.
References FSkeletonJoint::ChildrenIds, EndJoints, EndToRootOrder, Joints, OTHER_LOG, and RootToEndOrder.
|
inline |
Definition at line 124 of file SpringBasedVegetationComponent.h.
References FJointProperties::Force.
TArray<int> FSkeletonHierarchy::EndJoints |
Definition at line 113 of file SpringBasedVegetationComponent.h.
Referenced by Clear(), and ComputeEndJoints().
TArray<int> FSkeletonHierarchy::EndToRootOrder |
Definition at line 115 of file SpringBasedVegetationComponent.h.
Referenced by Clear(), and ComputeEndJoints().
TArray<FSkeletonJoint> FSkeletonHierarchy::Joints |
Definition at line 111 of file SpringBasedVegetationComponent.h.
Referenced by AddForce(), Clear(), ClearExternalForces(), ComputeChildrenJointsAndBones(), and ComputeEndJoints().
TArray<int> FSkeletonHierarchy::RootToEndOrder |
Definition at line 117 of file SpringBasedVegetationComponent.h.
Referenced by Clear(), and ComputeEndJoints().