Fix more typos in Source\Engine\Animations

This commit is contained in:
VNC
2020-12-29 03:31:13 +01:00
parent 1c4ebe9ab6
commit 967b6585e1
5 changed files with 10 additions and 10 deletions

View File

@@ -443,7 +443,7 @@ public:
struct MultiBlend1DData
{
/// <summary>
/// The computed length of the mixes animations. Shared for all blend points to provide mor stabilization during looped playback.
/// The computed length of the mixes animations. Shared for all blend points to provide more stabilization during looped playback.
/// </summary>
float Length;
@@ -456,7 +456,7 @@ public:
struct MultiBlend2DData
{
/// <summary>
/// The computed length of the mixes animations. Shared for all blend points to provide mor stabilization during looped playback.
/// The computed length of the mixes animations. Shared for all blend points to provide more stabilization during looped playback.
/// </summary>
float Length;
@@ -757,7 +757,7 @@ public:
public:
/// <summary>
/// The Anim Graph data version number. Used to sync the Anim Graph data with the instances state. Handles Anim Graph reloads to enure data is valid.
/// The Anim Graph data version number. Used to sync the Anim Graph data with the instances state. Handles Anim Graph reloads to ensure data is valid.
/// </summary>
uint32 Version = 0;
@@ -834,7 +834,7 @@ private:
public:
#if USE_EDITOR
// Custom event that is called every time the Anim Graph signal flows over the graph (including the data connections). Can be used to read nad visualize the animation blending logic.
// Custom event that is called every time the Anim Graph signal flows over the graph (including the data connections). Can be used to read and visualize the animation blending logic.
static Delegate<Asset*, ScriptingObject*, uint32, uint32> DebugFlow;
#endif

View File

@@ -29,7 +29,7 @@ public:
/// <param name="targetNode">The end node transformation (in model space).</param>
/// <param name="target">The target position of the end node to reach (in model space).</param>
/// <param name="jointTarget">The target position of the middle node to face into (in model space).</param>
/// <param name="allowStretching">True if allow bones stretching, otherwise bone lengths will be preserved when trying to reach teh target.</param>
/// <param name="allowStretching">True if allow bones stretching, otherwise bone lengths will be preserved when trying to reach the target.</param>
/// <param name="maxStretchScale">The maximum scale when stretching bones. Used only if allowStretching is true.</param>
static void SolveTwoBoneIK(Transform& rootNode, Transform& jointNode, Transform& targetNode, const Vector3& target, const Vector3& jointTarget, bool allowStretching = false, float maxStretchScale = 1.5f);
};

View File

@@ -289,7 +289,7 @@ Asset::LoadResult SceneAnimation::load()
trackRuntime->DataType = CurvePropertyTrack::DataTypes::Color32;
if (trackRuntime->DataType == CurvePropertyTrack::DataTypes::Unknown)
{
LOG(Warning, "Unknwon curve animation property type {2} for the track {1}, type {0}.", (int32)track.Type, track.Name, String(trackRuntime->PropertyTypeName));
LOG(Warning, "Unknown curve animation property type {2} for the track {1}, type {0}.", (int32)track.Type, track.Name, String(trackRuntime->PropertyTypeName));
track.Disabled = true;
}
needsParent = true;

View File

@@ -102,7 +102,7 @@ public:
void* Data;
/// <summary>
/// The track dependant data (from the shared runtime allocation).
/// The track dependent data (from the shared runtime allocation).
/// </summary>
void* RuntimeData;

View File

@@ -129,7 +129,7 @@ public:
public:
/// <summary>
/// Gets the value that determinates whether the scene animation is playing.
/// Gets the value that determines whether the scene animation is playing.
/// </summary>
API_PROPERTY() FORCE_INLINE bool IsPlaying() const
{
@@ -137,7 +137,7 @@ public:
}
/// <summary>
/// Gets the value that determinates whether the scene animation is paused.
/// Gets the value that determines whether the scene animation is paused.
/// </summary>
API_PROPERTY() FORCE_INLINE bool IsPaused() const
{
@@ -145,7 +145,7 @@ public:
}
/// <summary>
/// Gets the value that determinates whether the scene animation is stopped.
/// Gets the value that determines whether the scene animation is stopped.
/// </summary>
API_PROPERTY() FORCE_INLINE bool IsStopped() const
{