Fix typos
This commit is contained in:
@@ -121,7 +121,7 @@ public:
|
||||
/// <summary>
|
||||
/// Finds the node with the given name.
|
||||
/// </summary>
|
||||
/// <param name="name">Thr name of the node.</param>
|
||||
/// <param name="name">The name of the node.</param>
|
||||
/// <returns>The index of the node or -1 if not found.</returns>
|
||||
API_FUNCTION() FORCE_INLINE int32 FindNode(const StringView& name)
|
||||
{
|
||||
@@ -131,7 +131,7 @@ public:
|
||||
/// <summary>
|
||||
/// Finds the bone with the given name.
|
||||
/// </summary>
|
||||
/// <param name="name">Thr name of the node used by the bone.</param>
|
||||
/// <param name="name">The name of the node used by the bone.</param>
|
||||
/// <returns>The index of the bone or -1 if not found.</returns>
|
||||
API_FUNCTION() FORCE_INLINE int32 FindBone(const StringView& name)
|
||||
{
|
||||
|
||||
@@ -340,14 +340,14 @@ public:
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates temporary and virtual asset of thr given type.
|
||||
/// Creates temporary and virtual asset of the given type.
|
||||
/// </summary>
|
||||
/// <param name="type">The asset type klass.</param>
|
||||
/// <returns>Created asset or null if failed.</returns>
|
||||
API_FUNCTION() static Asset* CreateVirtualAsset(API_PARAM(Attributes="TypeReference(typeof(Asset))") MClass* type);
|
||||
|
||||
/// <summary>
|
||||
/// Creates temporary and virtual asset of thr given type.
|
||||
/// Creates temporary and virtual asset of the given type.
|
||||
/// </summary>
|
||||
/// <param name="type">The asset type.</param>
|
||||
/// <returns>Created asset or null if failed.</returns>
|
||||
|
||||
@@ -32,7 +32,7 @@ public:
|
||||
/// Extracts IES profile data to R16 format (float).
|
||||
/// </summary>
|
||||
/// <param name="output">The result data container.</param>
|
||||
/// <returns>Thr multiplier as the texture is normalized.</returns>
|
||||
/// <returns>The multiplier as the texture is normalized.</returns>
|
||||
float ExtractInR16(Array<byte>& output);
|
||||
|
||||
public:
|
||||
|
||||
@@ -66,7 +66,7 @@ namespace Flax.Build.Bindings
|
||||
if (BaseType is ClassInfo baseClass)
|
||||
{
|
||||
if (baseClass.IsStatic)
|
||||
throw new Exception(string.Format("Class {0} inherits from thr class {1} that is {2}.", FullNameNative, baseClass.FullNameNative, "static"));
|
||||
throw new Exception(string.Format("Class {0} inherits from the class {1} that is {2}.", FullNameNative, baseClass.FullNameNative, "static"));
|
||||
if (baseClass.IsSealed)
|
||||
throw new Exception(string.Format("Class {0} inherits from the class {1} that is {2}.", FullNameNative, baseClass.FullNameNative, "sealed"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user