diff --git a/API/AIController-GetFocalPoint().md b/API/AIController-GetFocalPoint().md
index 8a8e9ce6..f72983fe 100644
--- a/API/AIController-GetFocalPoint().md
+++ b/API/AIController-GetFocalPoint().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[AIController](./AIController.md 'UnrealEngine.Framework.AIController')
## AIController.GetFocalPoint() Method
-Retrieves the final position that controller should be looking at
+Returns the final position that controller should be looking at
```csharp
public System.Numerics.Vector3 GetFocalPoint();
```
diff --git a/API/AIController-GetFocalPoint(Vector3).md b/API/AIController-GetFocalPoint(Vector3).md
index 35ee246d..487f8141 100644
--- a/API/AIController-GetFocalPoint(Vector3).md
+++ b/API/AIController-GetFocalPoint(Vector3).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[AIController](./AIController.md 'UnrealEngine.Framework.AIController')
## AIController.GetFocalPoint(System.Numerics.Vector3) Method
-Retrieves the final position that controller should be looking at and returns to a reference
+Retrieves the final position that controller should be looking at
```csharp
public void GetFocalPoint(ref System.Numerics.Vector3 value);
```
diff --git a/API/BoxComponent-GetScaledBoxExtent().md b/API/BoxComponent-GetScaledBoxExtent().md
index cd8da503..2a402ecf 100644
--- a/API/BoxComponent-GetScaledBoxExtent().md
+++ b/API/BoxComponent-GetScaledBoxExtent().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[BoxComponent](./BoxComponent.md 'UnrealEngine.Framework.BoxComponent')
## BoxComponent.GetScaledBoxExtent() Method
-Retrieves the box extents scaled by the component scale
+Returns the box extents scaled by the component scale
```csharp
public System.Numerics.Vector3 GetScaledBoxExtent();
```
diff --git a/API/BoxComponent-GetScaledBoxExtent(Vector3).md b/API/BoxComponent-GetScaledBoxExtent(Vector3).md
index 32c0d502..69c92ce2 100644
--- a/API/BoxComponent-GetScaledBoxExtent(Vector3).md
+++ b/API/BoxComponent-GetScaledBoxExtent(Vector3).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[BoxComponent](./BoxComponent.md 'UnrealEngine.Framework.BoxComponent')
## BoxComponent.GetScaledBoxExtent(System.Numerics.Vector3) Method
-Retrieves the box extents scaled by the component scale and returns to a reference
+Retrieves the box extents scaled by the component scale
```csharp
public void GetScaledBoxExtent(ref System.Numerics.Vector3 value);
```
diff --git a/API/BoxComponent-GetUnscaledBoxExtent().md b/API/BoxComponent-GetUnscaledBoxExtent().md
index cd15e1e2..562c6812 100644
--- a/API/BoxComponent-GetUnscaledBoxExtent().md
+++ b/API/BoxComponent-GetUnscaledBoxExtent().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[BoxComponent](./BoxComponent.md 'UnrealEngine.Framework.BoxComponent')
## BoxComponent.GetUnscaledBoxExtent() Method
-Retrieves the box extent ignoring the component scale
+Returns the box extent ignoring the component scale
```csharp
public System.Numerics.Vector3 GetUnscaledBoxExtent();
```
diff --git a/API/BoxComponent-GetUnscaledBoxExtent(Vector3).md b/API/BoxComponent-GetUnscaledBoxExtent(Vector3).md
index 4d1db381..c8d979fb 100644
--- a/API/BoxComponent-GetUnscaledBoxExtent(Vector3).md
+++ b/API/BoxComponent-GetUnscaledBoxExtent(Vector3).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[BoxComponent](./BoxComponent.md 'UnrealEngine.Framework.BoxComponent')
## BoxComponent.GetUnscaledBoxExtent(System.Numerics.Vector3) Method
-Retrieves the box extent ignoring the component scale and returns to a reference
+Retrieves the box extent ignoring the component scale
```csharp
public void GetUnscaledBoxExtent(ref System.Numerics.Vector3 value);
```
diff --git a/API/Engine-GetScreenResolution().md b/API/Engine-GetScreenResolution().md
index c09b7d5e..ab1f7d87 100644
--- a/API/Engine-GetScreenResolution().md
+++ b/API/Engine-GetScreenResolution().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[Engine](./Engine.md 'UnrealEngine.Framework.Engine')
## Engine.GetScreenResolution() Method
-Retrieves the current resolution of the screen
+Returns the current resolution of the screen
```csharp
public static System.Numerics.Vector2 GetScreenResolution();
```
diff --git a/API/Engine-GetScreenResolution(Vector2).md b/API/Engine-GetScreenResolution(Vector2).md
index e9a803e5..be6475a7 100644
--- a/API/Engine-GetScreenResolution(Vector2).md
+++ b/API/Engine-GetScreenResolution(Vector2).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[Engine](./Engine.md 'UnrealEngine.Framework.Engine')
## Engine.GetScreenResolution(System.Numerics.Vector2) Method
-Retrieves the current resolution of the screen and returns to a reference
+Retrieves the current resolution of the screen
```csharp
public static void GetScreenResolution(ref System.Numerics.Vector2 value);
```
diff --git a/API/Engine-GetViewportSize().md b/API/Engine-GetViewportSize().md
index 5c1b78a3..197be21d 100644
--- a/API/Engine-GetViewportSize().md
+++ b/API/Engine-GetViewportSize().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[Engine](./Engine.md 'UnrealEngine.Framework.Engine')
## Engine.GetViewportSize() Method
-Retrieves the current size of the viewport
+Returns the current size of the viewport
```csharp
public static System.Numerics.Vector2 GetViewportSize();
```
diff --git a/API/Engine-GetViewportSize(Vector2).md b/API/Engine-GetViewportSize(Vector2).md
index e07f984c..f2bc5ccb 100644
--- a/API/Engine-GetViewportSize(Vector2).md
+++ b/API/Engine-GetViewportSize(Vector2).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[Engine](./Engine.md 'UnrealEngine.Framework.Engine')
## Engine.GetViewportSize(System.Numerics.Vector2) Method
-Retrieves the current size of the viewport and returns to a reference
+Retrieves the current size of the viewport
```csharp
public static void GetViewportSize(ref System.Numerics.Vector2 value);
```
diff --git a/API/HeadMountedDisplay-DeviceName.md b/API/HeadMountedDisplay-DeviceName.md
index 99f1e393..1d12657d 100644
--- a/API/HeadMountedDisplay-DeviceName.md
+++ b/API/HeadMountedDisplay-DeviceName.md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[HeadMountedDisplay](./HeadMountedDisplay.md 'UnrealEngine.Framework.HeadMountedDisplay')
## HeadMountedDisplay.DeviceName Property
-Retrieves the name of the device
+Returns the name of the device
```csharp
public static string DeviceName { get; }
```
diff --git a/API/Pawn-GetGravityDirection().md b/API/Pawn-GetGravityDirection().md
index 09b817f3..8101f697 100644
--- a/API/Pawn-GetGravityDirection().md
+++ b/API/Pawn-GetGravityDirection().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[Pawn](./Pawn.md 'UnrealEngine.Framework.Pawn')
## Pawn.GetGravityDirection() Method
-Retrieves vector direction of gravity
+Returns vector direction of gravity
```csharp
public System.Numerics.Vector3 GetGravityDirection();
```
diff --git a/API/Pawn-GetGravityDirection(Vector3).md b/API/Pawn-GetGravityDirection(Vector3).md
index 93bbe5a1..14dbd98c 100644
--- a/API/Pawn-GetGravityDirection(Vector3).md
+++ b/API/Pawn-GetGravityDirection(Vector3).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[Pawn](./Pawn.md 'UnrealEngine.Framework.Pawn')
## Pawn.GetGravityDirection(System.Numerics.Vector3) Method
-Retrieves vector direction of gravity and returns to a reference
+Retrieves vector direction of gravity
```csharp
public void GetGravityDirection(ref System.Numerics.Vector3 value);
```
diff --git a/API/PlayerInput-GetMouseSensitivity().md b/API/PlayerInput-GetMouseSensitivity().md
index 4748c6f9..c48b561b 100644
--- a/API/PlayerInput-GetMouseSensitivity().md
+++ b/API/PlayerInput-GetMouseSensitivity().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[PlayerInput](./PlayerInput.md 'UnrealEngine.Framework.PlayerInput')
## PlayerInput.GetMouseSensitivity() Method
-Retrieves mouse sensitivity
+Returns mouse sensitivity
```csharp
public System.Numerics.Vector2 GetMouseSensitivity();
```
diff --git a/API/PlayerInput-GetMouseSensitivity(Vector2).md b/API/PlayerInput-GetMouseSensitivity(Vector2).md
index 63fc047d..0f8dbf80 100644
--- a/API/PlayerInput-GetMouseSensitivity(Vector2).md
+++ b/API/PlayerInput-GetMouseSensitivity(Vector2).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[PlayerInput](./PlayerInput.md 'UnrealEngine.Framework.PlayerInput')
## PlayerInput.GetMouseSensitivity(System.Numerics.Vector2) Method
-Retrieves mouse sensitivity and returns to a reference
+Retrieves mouse sensitivity
```csharp
public void GetMouseSensitivity(ref System.Numerics.Vector2 value);
```
diff --git a/API/PrimitiveComponent-GetPhysicsAngularVelocityInDegrees(Vector3_string).md b/API/PrimitiveComponent-GetPhysicsAngularVelocityInDegrees(Vector3_string).md
index 055a33bb..fa24adfe 100644
--- a/API/PrimitiveComponent-GetPhysicsAngularVelocityInDegrees(Vector3_string).md
+++ b/API/PrimitiveComponent-GetPhysicsAngularVelocityInDegrees(Vector3_string).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[PrimitiveComponent](./PrimitiveComponent.md 'UnrealEngine.Framework.PrimitiveComponent')
## PrimitiveComponent.GetPhysicsAngularVelocityInDegrees(System.Numerics.Vector3, string) Method
-Retrieves the angular velocity in degrees of a single body and returns to a reference
+Retrieves the angular velocity in degrees of a single body
```csharp
public void GetPhysicsAngularVelocityInDegrees(ref System.Numerics.Vector3 value, string boneName=null);
```
diff --git a/API/PrimitiveComponent-GetPhysicsAngularVelocityInDegrees(string).md b/API/PrimitiveComponent-GetPhysicsAngularVelocityInDegrees(string).md
index d7753823..55ab35f2 100644
--- a/API/PrimitiveComponent-GetPhysicsAngularVelocityInDegrees(string).md
+++ b/API/PrimitiveComponent-GetPhysicsAngularVelocityInDegrees(string).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[PrimitiveComponent](./PrimitiveComponent.md 'UnrealEngine.Framework.PrimitiveComponent')
## PrimitiveComponent.GetPhysicsAngularVelocityInDegrees(string) Method
-Retrieves the angular velocity in degrees of a single body
+Returns the angular velocity in degrees of a single body
```csharp
public System.Numerics.Vector3 GetPhysicsAngularVelocityInDegrees(string boneName=null);
```
diff --git a/API/PrimitiveComponent-GetPhysicsAngularVelocityInRadians(Vector3_string).md b/API/PrimitiveComponent-GetPhysicsAngularVelocityInRadians(Vector3_string).md
index 624b1ebf..7ab3c2d9 100644
--- a/API/PrimitiveComponent-GetPhysicsAngularVelocityInRadians(Vector3_string).md
+++ b/API/PrimitiveComponent-GetPhysicsAngularVelocityInRadians(Vector3_string).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[PrimitiveComponent](./PrimitiveComponent.md 'UnrealEngine.Framework.PrimitiveComponent')
## PrimitiveComponent.GetPhysicsAngularVelocityInRadians(System.Numerics.Vector3, string) Method
-Retrieves the angular velocity in radians of a single body and returns to a reference
+Retrieves the angular velocity in radians of a single body
```csharp
public void GetPhysicsAngularVelocityInRadians(ref System.Numerics.Vector3 value, string boneName=null);
```
diff --git a/API/PrimitiveComponent-GetPhysicsAngularVelocityInRadians(string).md b/API/PrimitiveComponent-GetPhysicsAngularVelocityInRadians(string).md
index de6cbfbf..61baa9ad 100644
--- a/API/PrimitiveComponent-GetPhysicsAngularVelocityInRadians(string).md
+++ b/API/PrimitiveComponent-GetPhysicsAngularVelocityInRadians(string).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[PrimitiveComponent](./PrimitiveComponent.md 'UnrealEngine.Framework.PrimitiveComponent')
## PrimitiveComponent.GetPhysicsAngularVelocityInRadians(string) Method
-Retrieves the angular velocity in radians of a single body
+Returns the angular velocity in radians of a single body
```csharp
public System.Numerics.Vector3 GetPhysicsAngularVelocityInRadians(string boneName=null);
```
diff --git a/API/PrimitiveComponent-GetPhysicsLinearVelocity(Vector3_string).md b/API/PrimitiveComponent-GetPhysicsLinearVelocity(Vector3_string).md
index abef1084..789bde56 100644
--- a/API/PrimitiveComponent-GetPhysicsLinearVelocity(Vector3_string).md
+++ b/API/PrimitiveComponent-GetPhysicsLinearVelocity(Vector3_string).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[PrimitiveComponent](./PrimitiveComponent.md 'UnrealEngine.Framework.PrimitiveComponent')
## PrimitiveComponent.GetPhysicsLinearVelocity(System.Numerics.Vector3, string) Method
-Retrieves the linear velocity of a single body and returns to a reference
+Retrieves the linear velocity of a single body
```csharp
public void GetPhysicsLinearVelocity(ref System.Numerics.Vector3 value, string boneName=null);
```
diff --git a/API/PrimitiveComponent-GetPhysicsLinearVelocity(string).md b/API/PrimitiveComponent-GetPhysicsLinearVelocity(string).md
index 856fbb80..e59f5982 100644
--- a/API/PrimitiveComponent-GetPhysicsLinearVelocity(string).md
+++ b/API/PrimitiveComponent-GetPhysicsLinearVelocity(string).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[PrimitiveComponent](./PrimitiveComponent.md 'UnrealEngine.Framework.PrimitiveComponent')
## PrimitiveComponent.GetPhysicsLinearVelocity(string) Method
-Retrieves the linear velocity of a single body
+Returns the linear velocity of a single body
```csharp
public System.Numerics.Vector3 GetPhysicsLinearVelocity(string boneName=null);
```
diff --git a/API/PrimitiveComponent-GetPhysicsLinearVelocityAtPoint(Vector3_Vector3_string).md b/API/PrimitiveComponent-GetPhysicsLinearVelocityAtPoint(Vector3_Vector3_string).md
index c2876ce3..71ea5750 100644
--- a/API/PrimitiveComponent-GetPhysicsLinearVelocityAtPoint(Vector3_Vector3_string).md
+++ b/API/PrimitiveComponent-GetPhysicsLinearVelocityAtPoint(Vector3_Vector3_string).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[PrimitiveComponent](./PrimitiveComponent.md 'UnrealEngine.Framework.PrimitiveComponent')
## PrimitiveComponent.GetPhysicsLinearVelocityAtPoint(System.Numerics.Vector3, System.Numerics.Vector3, string) Method
-Retrieves the linear velocity of a point on a single body and returns to a reference
+Retrieves the linear velocity of a point on a single body
```csharp
public void GetPhysicsLinearVelocityAtPoint(ref System.Numerics.Vector3 value, in System.Numerics.Vector3 point, string boneName=null);
```
diff --git a/API/PrimitiveComponent-GetPhysicsLinearVelocityAtPoint(Vector3_string).md b/API/PrimitiveComponent-GetPhysicsLinearVelocityAtPoint(Vector3_string).md
index bdaed471..04905618 100644
--- a/API/PrimitiveComponent-GetPhysicsLinearVelocityAtPoint(Vector3_string).md
+++ b/API/PrimitiveComponent-GetPhysicsLinearVelocityAtPoint(Vector3_string).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[PrimitiveComponent](./PrimitiveComponent.md 'UnrealEngine.Framework.PrimitiveComponent')
## PrimitiveComponent.GetPhysicsLinearVelocityAtPoint(System.Numerics.Vector3, string) Method
-Retrieves the linear velocity of a point on a single body
+Returns the linear velocity of a point on a single body
```csharp
public System.Numerics.Vector3 GetPhysicsLinearVelocityAtPoint(in System.Numerics.Vector3 point, string boneName=null);
```
diff --git a/API/SceneComponent-GetForwardVector().md b/API/SceneComponent-GetForwardVector().md
index 1fb6430f..101918e4 100644
--- a/API/SceneComponent-GetForwardVector().md
+++ b/API/SceneComponent-GetForwardVector().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetForwardVector() Method
-Retrieves the forward X unit direction vector from the component in world space
+Returns the forward X unit direction vector from the component in world space
```csharp
public System.Numerics.Vector3 GetForwardVector();
```
diff --git a/API/SceneComponent-GetForwardVector(Vector3).md b/API/SceneComponent-GetForwardVector(Vector3).md
index 141071e9..4a4961bc 100644
--- a/API/SceneComponent-GetForwardVector(Vector3).md
+++ b/API/SceneComponent-GetForwardVector(Vector3).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetForwardVector(System.Numerics.Vector3) Method
-Retrieves the forward X unit direction vector from the component in world space and returns to a reference
+Retrieves the forward X unit direction vector from the component in world space
```csharp
public void GetForwardVector(ref System.Numerics.Vector3 value);
```
diff --git a/API/SceneComponent-GetLocation().md b/API/SceneComponent-GetLocation().md
index 99d0c61a..4b1618a2 100644
--- a/API/SceneComponent-GetLocation().md
+++ b/API/SceneComponent-GetLocation().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetLocation() Method
-Retrieves location of the component in world space
+Returns location of the component in world space
```csharp
public System.Numerics.Vector3 GetLocation();
```
diff --git a/API/SceneComponent-GetLocation(Vector3).md b/API/SceneComponent-GetLocation(Vector3).md
index d33001e2..a6ec223a 100644
--- a/API/SceneComponent-GetLocation(Vector3).md
+++ b/API/SceneComponent-GetLocation(Vector3).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetLocation(System.Numerics.Vector3) Method
-Retrieves location of the component in world space and returns to a reference
+Retrieves location of the component in world space
```csharp
public void GetLocation(ref System.Numerics.Vector3 value);
```
diff --git a/API/SceneComponent-GetRightVector().md b/API/SceneComponent-GetRightVector().md
index 6d799ff3..06b1d174 100644
--- a/API/SceneComponent-GetRightVector().md
+++ b/API/SceneComponent-GetRightVector().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetRightVector() Method
-Retrieves the right Y unit direction vector from the component in world space
+Returns the right Y unit direction vector from the component in world space
```csharp
public System.Numerics.Vector3 GetRightVector();
```
diff --git a/API/SceneComponent-GetRightVector(Vector3).md b/API/SceneComponent-GetRightVector(Vector3).md
index 58b6f30f..c1da3e02 100644
--- a/API/SceneComponent-GetRightVector(Vector3).md
+++ b/API/SceneComponent-GetRightVector(Vector3).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetRightVector(System.Numerics.Vector3) Method
-Retrieves the right Y unit direction vector from the component in world space and returns to a reference
+Retrieves the right Y unit direction vector from the component in world space
```csharp
public void GetRightVector(ref System.Numerics.Vector3 value);
```
diff --git a/API/SceneComponent-GetRotation().md b/API/SceneComponent-GetRotation().md
index cb0a49c5..d26c3fea 100644
--- a/API/SceneComponent-GetRotation().md
+++ b/API/SceneComponent-GetRotation().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetRotation() Method
-Retrieves rotation of the component in world space
+Returns rotation of the component in world space
```csharp
public System.Numerics.Quaternion GetRotation();
```
diff --git a/API/SceneComponent-GetRotation(Quaternion).md b/API/SceneComponent-GetRotation(Quaternion).md
index d3efad54..1542351d 100644
--- a/API/SceneComponent-GetRotation(Quaternion).md
+++ b/API/SceneComponent-GetRotation(Quaternion).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetRotation(System.Numerics.Quaternion) Method
-Retrieves rotation of the component in world space and returns to a reference
+Returns rotation of the component in world space
```csharp
public void GetRotation(ref System.Numerics.Quaternion value);
```
diff --git a/API/SceneComponent-GetScale().md b/API/SceneComponent-GetScale().md
index fe58a59f..8541cff7 100644
--- a/API/SceneComponent-GetScale().md
+++ b/API/SceneComponent-GetScale().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetScale() Method
-Retrieves scale of the component in world space
+Returns scale of the component in world space
```csharp
public System.Numerics.Vector3 GetScale();
```
diff --git a/API/SceneComponent-GetScale(Vector3).md b/API/SceneComponent-GetScale(Vector3).md
index dc2fdd18..cb733342 100644
--- a/API/SceneComponent-GetScale(Vector3).md
+++ b/API/SceneComponent-GetScale(Vector3).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetScale(System.Numerics.Vector3) Method
-Retrieves scale of the component in world space and returns to a reference
+Retrieves scale of the component in world space
```csharp
public void GetScale(ref System.Numerics.Vector3 value);
```
diff --git a/API/SceneComponent-GetSocketLocation(string).md b/API/SceneComponent-GetSocketLocation(string).md
index eec9a5bd..95a99c66 100644
--- a/API/SceneComponent-GetSocketLocation(string).md
+++ b/API/SceneComponent-GetSocketLocation(string).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetSocketLocation(string) Method
-Retrieves location of a socket in world space
+Returns location of a socket in world space
```csharp
public System.Numerics.Vector3 GetSocketLocation(string socketName);
```
diff --git a/API/SceneComponent-GetSocketLocation(string_Vector3).md b/API/SceneComponent-GetSocketLocation(string_Vector3).md
index b47ea9ca..2179d05d 100644
--- a/API/SceneComponent-GetSocketLocation(string_Vector3).md
+++ b/API/SceneComponent-GetSocketLocation(string_Vector3).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetSocketLocation(string, System.Numerics.Vector3) Method
-Retrieves location of a socket in world space and returns to a reference
+Retrieves location of a socket in world space
```csharp
public void GetSocketLocation(string socketName, ref System.Numerics.Vector3 value);
```
diff --git a/API/SceneComponent-GetSocketRotation(string).md b/API/SceneComponent-GetSocketRotation(string).md
index 4ab7d881..c94772f1 100644
--- a/API/SceneComponent-GetSocketRotation(string).md
+++ b/API/SceneComponent-GetSocketRotation(string).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetSocketRotation(string) Method
-Retrieves rotation of a socket in world space
+Returns rotation of a socket in world space
```csharp
public System.Numerics.Quaternion GetSocketRotation(string socketName);
```
diff --git a/API/SceneComponent-GetSocketRotation(string_Quaternion).md b/API/SceneComponent-GetSocketRotation(string_Quaternion).md
index 5c2e4167..86cce1af 100644
--- a/API/SceneComponent-GetSocketRotation(string_Quaternion).md
+++ b/API/SceneComponent-GetSocketRotation(string_Quaternion).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetSocketRotation(string, System.Numerics.Quaternion) Method
-Retrieves rotation of a socket in world space and returns to a reference
+Retrieves rotation of a socket in world space
```csharp
public void GetSocketRotation(string socketName, ref System.Numerics.Quaternion value);
```
diff --git a/API/SceneComponent-GetTransform().md b/API/SceneComponent-GetTransform().md
index ccd9aa02..46c176a2 100644
--- a/API/SceneComponent-GetTransform().md
+++ b/API/SceneComponent-GetTransform().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetTransform() Method
-Retrieves the transform which assigned to the component
+Returns the transform which assigned to the component
```csharp
public UnrealEngine.Framework.Transform GetTransform();
```
diff --git a/API/SceneComponent-GetTransform(Transform).md b/API/SceneComponent-GetTransform(Transform).md
index 27f0435d..1f72b645 100644
--- a/API/SceneComponent-GetTransform(Transform).md
+++ b/API/SceneComponent-GetTransform(Transform).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetTransform(UnrealEngine.Framework.Transform) Method
-Retrieves the transform which assigned to the component and returns to a reference
+Returns the transform which assigned to the component
```csharp
public void GetTransform(ref UnrealEngine.Framework.Transform value);
```
diff --git a/API/SceneComponent-GetUpVector().md b/API/SceneComponent-GetUpVector().md
index 819c3d97..d6fb742b 100644
--- a/API/SceneComponent-GetUpVector().md
+++ b/API/SceneComponent-GetUpVector().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetUpVector() Method
-Retrieves the up Z unit direction vector from the component in world space
+Returns the up Z unit direction vector from the component in world space
```csharp
public System.Numerics.Vector3 GetUpVector();
```
diff --git a/API/SceneComponent-GetUpVector(Vector3).md b/API/SceneComponent-GetUpVector(Vector3).md
index 58288d43..884773a1 100644
--- a/API/SceneComponent-GetUpVector(Vector3).md
+++ b/API/SceneComponent-GetUpVector(Vector3).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetUpVector(System.Numerics.Vector3) Method
-Retrieves the up Z unit direction vector from the component in world space and returns to a reference
+Retrieves the up Z unit direction vector from the component in world space
```csharp
public void GetUpVector(ref System.Numerics.Vector3 value);
```
diff --git a/API/SceneComponent-GetVelocity().md b/API/SceneComponent-GetVelocity().md
index 67f41836..bd8b7a7a 100644
--- a/API/SceneComponent-GetVelocity().md
+++ b/API/SceneComponent-GetVelocity().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetVelocity() Method
-Retrieves velocity of the component, or the velocity of the physics body if simulating physics
+Returns velocity of the component, or the velocity of the physics body if simulating physics
```csharp
public System.Numerics.Vector3 GetVelocity();
```
diff --git a/API/SceneComponent-GetVelocity(Vector3).md b/API/SceneComponent-GetVelocity(Vector3).md
index 5eb558c2..3896c0ee 100644
--- a/API/SceneComponent-GetVelocity(Vector3).md
+++ b/API/SceneComponent-GetVelocity(Vector3).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SceneComponent](./SceneComponent.md 'UnrealEngine.Framework.SceneComponent')
## SceneComponent.GetVelocity(System.Numerics.Vector3) Method
-Retrieves velocity of the component, or the velocity of the physics body if simulating physics and returns to a reference
+Retrieves velocity of the component, or the velocity of the physics body if simulating physics
```csharp
public void GetVelocity(ref System.Numerics.Vector3 value);
```
diff --git a/API/SkinnedMeshComponent-GetBoneIndex(string).md b/API/SkinnedMeshComponent-GetBoneIndex(string).md
new file mode 100644
index 00000000..2bcc3a7b
--- /dev/null
+++ b/API/SkinnedMeshComponent-GetBoneIndex(string).md
@@ -0,0 +1,12 @@
+### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SkinnedMeshComponent](./SkinnedMeshComponent.md 'UnrealEngine.Framework.SkinnedMeshComponent')
+## SkinnedMeshComponent.GetBoneIndex(string) Method
+Returns the index of a bone by name
+```csharp
+public int GetBoneIndex(string boneName);
+```
+#### Parameters
+
+`boneName` [System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
+
+#### Returns
+[System.Int32](https://docs.microsoft.com/en-us/dotnet/api/System.Int32 'System.Int32')
diff --git a/API/SkinnedMeshComponent-GetBoneName(int).md b/API/SkinnedMeshComponent-GetBoneName(int).md
new file mode 100644
index 00000000..7bb62266
--- /dev/null
+++ b/API/SkinnedMeshComponent-GetBoneName(int).md
@@ -0,0 +1,12 @@
+### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SkinnedMeshComponent](./SkinnedMeshComponent.md 'UnrealEngine.Framework.SkinnedMeshComponent')
+## SkinnedMeshComponent.GetBoneName(int) Method
+Returns the name of a bone by index
+```csharp
+public string GetBoneName(int boneIndex);
+```
+#### Parameters
+
+`boneIndex` [System.Int32](https://docs.microsoft.com/en-us/dotnet/api/System.Int32 'System.Int32')
+
+#### Returns
+[System.String](https://docs.microsoft.com/en-us/dotnet/api/System.String 'System.String')
diff --git a/API/SkinnedMeshComponent-GetBoneTransform(int).md b/API/SkinnedMeshComponent-GetBoneTransform(int).md
new file mode 100644
index 00000000..01ff2c53
--- /dev/null
+++ b/API/SkinnedMeshComponent-GetBoneTransform(int).md
@@ -0,0 +1,12 @@
+### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SkinnedMeshComponent](./SkinnedMeshComponent.md 'UnrealEngine.Framework.SkinnedMeshComponent')
+## SkinnedMeshComponent.GetBoneTransform(int) Method
+Returns the transform of a bone by index
+```csharp
+public UnrealEngine.Framework.Transform GetBoneTransform(int boneIndex);
+```
+#### Parameters
+
+`boneIndex` [System.Int32](https://docs.microsoft.com/en-us/dotnet/api/System.Int32 'System.Int32')
+
+#### Returns
+[Transform](./Transform.md 'UnrealEngine.Framework.Transform')
diff --git a/API/SkinnedMeshComponent-GetBoneTransform(int_Transform).md b/API/SkinnedMeshComponent-GetBoneTransform(int_Transform).md
new file mode 100644
index 00000000..dfe8a120
--- /dev/null
+++ b/API/SkinnedMeshComponent-GetBoneTransform(int_Transform).md
@@ -0,0 +1,13 @@
+### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SkinnedMeshComponent](./SkinnedMeshComponent.md 'UnrealEngine.Framework.SkinnedMeshComponent')
+## SkinnedMeshComponent.GetBoneTransform(int, UnrealEngine.Framework.Transform) Method
+Retrieves the transform of a bone by index
+```csharp
+public void GetBoneTransform(int boneIndex, ref UnrealEngine.Framework.Transform value);
+```
+#### Parameters
+
+`boneIndex` [System.Int32](https://docs.microsoft.com/en-us/dotnet/api/System.Int32 'System.Int32')
+
+
+`value` [Transform](./Transform.md 'UnrealEngine.Framework.Transform')
+
diff --git a/API/SkinnedMeshComponent-GetBonesNumber().md b/API/SkinnedMeshComponent-GetBonesNumber().md
new file mode 100644
index 00000000..635afdfb
--- /dev/null
+++ b/API/SkinnedMeshComponent-GetBonesNumber().md
@@ -0,0 +1,8 @@
+### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[SkinnedMeshComponent](./SkinnedMeshComponent.md 'UnrealEngine.Framework.SkinnedMeshComponent')
+## SkinnedMeshComponent.GetBonesNumber() Method
+Returns the number of bones in the skeleton
+```csharp
+public int GetBonesNumber();
+```
+#### Returns
+[System.Int32](https://docs.microsoft.com/en-us/dotnet/api/System.Int32 'System.Int32')
diff --git a/API/SkinnedMeshComponent.md b/API/SkinnedMeshComponent.md
index 8198dfe7..9aeb448f 100644
--- a/API/SkinnedMeshComponent.md
+++ b/API/SkinnedMeshComponent.md
@@ -9,4 +9,9 @@ Inheritance [System.Object](https://docs.microsoft.com/en-us/dotnet/api/System.O
Derived
↳ [SkeletalMeshComponent](./SkeletalMeshComponent.md 'UnrealEngine.Framework.SkeletalMeshComponent')
### Methods
+- [GetBoneIndex(string)](./SkinnedMeshComponent-GetBoneIndex(string).md 'UnrealEngine.Framework.SkinnedMeshComponent.GetBoneIndex(string)')
+- [GetBoneName(int)](./SkinnedMeshComponent-GetBoneName(int).md 'UnrealEngine.Framework.SkinnedMeshComponent.GetBoneName(int)')
+- [GetBonesNumber()](./SkinnedMeshComponent-GetBonesNumber().md 'UnrealEngine.Framework.SkinnedMeshComponent.GetBonesNumber()')
+- [GetBoneTransform(int)](./SkinnedMeshComponent-GetBoneTransform(int).md 'UnrealEngine.Framework.SkinnedMeshComponent.GetBoneTransform(int)')
+- [GetBoneTransform(int, UnrealEngine.Framework.Transform)](./SkinnedMeshComponent-GetBoneTransform(int_Transform).md 'UnrealEngine.Framework.SkinnedMeshComponent.GetBoneTransform(int, UnrealEngine.Framework.Transform)')
- [SetSkeletalMesh(UnrealEngine.Framework.SkeletalMesh, bool)](./SkinnedMeshComponent-SetSkeletalMesh(SkeletalMesh_bool).md 'UnrealEngine.Framework.SkinnedMeshComponent.SetSkeletalMesh(UnrealEngine.Framework.SkeletalMesh, bool)')
diff --git a/API/Texture2D-GetSize().md b/API/Texture2D-GetSize().md
index 7db053f3..6d5e523a 100644
--- a/API/Texture2D-GetSize().md
+++ b/API/Texture2D-GetSize().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[Texture2D](./Texture2D.md 'UnrealEngine.Framework.Texture2D')
## Texture2D.GetSize() Method
-Retrieves size of the texture
+Returns size of the texture
```csharp
public System.Numerics.Vector2 GetSize();
```
diff --git a/API/Texture2D-GetSize(Vector2).md b/API/Texture2D-GetSize(Vector2).md
index d832d805..1d4f817a 100644
--- a/API/Texture2D-GetSize(Vector2).md
+++ b/API/Texture2D-GetSize(Vector2).md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[Texture2D](./Texture2D.md 'UnrealEngine.Framework.Texture2D')
## Texture2D.GetSize(System.Numerics.Vector2) Method
-Retrieves size of the texture and returns to a reference
+Retrieves size of the texture
```csharp
public void GetSize(ref System.Numerics.Vector2 value);
```
diff --git a/API/World-GetWorldOrigin().md b/API/World-GetWorldOrigin().md
index d3112bca..dc23acc2 100644
--- a/API/World-GetWorldOrigin().md
+++ b/API/World-GetWorldOrigin().md
@@ -1,6 +1,6 @@
### [UnrealEngine.Framework](./UnrealEngine-Framework.md 'UnrealEngine.Framework').[World](./World.md 'UnrealEngine.Framework.World')
## World.GetWorldOrigin() Method
-Retrieves the current location of the world origin
+Returns the current location of the world origin
```csharp
public static System.Numerics.Vector3 GetWorldOrigin();
```
diff --git a/Source/Managed/Framework/Codegen.cs b/Source/Managed/Framework/Codegen.cs
index 41031211..5b309b96 100644
--- a/Source/Managed/Framework/Codegen.cs
+++ b/Source/Managed/Framework/Codegen.cs
@@ -25,7 +25,7 @@ namespace UnrealEngine.Framework {
// Automatically generated
internal static class Shared {
- internal const int checksum = 0x1EB;
+ internal const int checksum = 0x1EF;
internal static Dictionary userFunctions = new Dictionary();
internal static unsafe Dictionary Load(IntPtr* events, IntPtr functions, Assembly pluginAssembly) {
@@ -700,6 +700,10 @@ internal static unsafe Dictionary Load(IntPtr* events, IntPtr funct
int head = 0;
IntPtr* skinnedMeshComponentFunctions = (IntPtr*)buffer[position++];
+ SkinnedMeshComponent.getBonesNumber = GenerateOptimizedFunction(skinnedMeshComponentFunctions[head++]);
+ SkinnedMeshComponent.getBoneIndex = GenerateOptimizedFunction(skinnedMeshComponentFunctions[head++]);
+ SkinnedMeshComponent.getBoneName = GenerateOptimizedFunction(skinnedMeshComponentFunctions[head++]);
+ SkinnedMeshComponent.getBoneTransform = GenerateOptimizedFunction(skinnedMeshComponentFunctions[head++]);
SkinnedMeshComponent.setSkeletalMesh = GenerateOptimizedFunction(skinnedMeshComponentFunctions[head++]);
}
@@ -2035,8 +2039,16 @@ partial class InstancedStaticMeshComponent {
}
partial class SkinnedMeshComponent {
+ internal delegate int GetBonesNumberFunction(IntPtr skinnedMeshComponent);
+ internal delegate int GetBoneIndexFunction(IntPtr skinnedMeshComponent, string boneName);
+ internal delegate void GetBoneNameFunction(IntPtr skinnedMeshComponent, int boneIndex, byte[] boneName);
+ internal delegate void GetBoneTransformFunction(IntPtr skinnedMeshComponent, int boneIndex, ref Transform value);
internal delegate void SetSkeletalMeshFunction(IntPtr skinnedMeshComponent, IntPtr skeletalMesh, Bool reinitializePose);
+ internal static GetBonesNumberFunction getBonesNumber;
+ internal static GetBoneIndexFunction getBoneIndex;
+ internal static GetBoneNameFunction getBoneName;
+ internal static GetBoneTransformFunction getBoneTransform;
internal static SetSkeletalMeshFunction setSkeletalMesh;
}
diff --git a/Source/Managed/Framework/Framework.cs b/Source/Managed/Framework/Framework.cs
index e95626df..0df20ae5 100644
--- a/Source/Managed/Framework/Framework.cs
+++ b/Source/Managed/Framework/Framework.cs
@@ -3109,12 +3109,12 @@ public static partial class Engine {
public static uint FrameNumber => getFrameNumber();
///
- /// Retrieves the current size of the viewport and returns to a reference
+ /// Retrieves the current size of the viewport
///
public static void GetViewportSize(ref Vector2 value) => getViewportSize(ref value);
///
- /// Retrieves the current size of the viewport
+ /// Returns the current size of the viewport
///
public static Vector2 GetViewportSize() {
Vector2 value = default;
@@ -3125,12 +3125,12 @@ public static Vector2 GetViewportSize() {
}
///
- /// Retrieves the current resolution of the screen and returns to a reference
+ /// Retrieves the current resolution of the screen
///
public static void GetScreenResolution(ref Vector2 value) => getScreenResolution(ref value);
///
- /// Retrieves the current resolution of the screen
+ /// Returns the current resolution of the screen
///
public static Vector2 GetScreenResolution() {
Vector2 value = default;
@@ -3244,7 +3244,7 @@ public static bool LowPersistenceMode {
}
///
- /// Retrieves the name of the device
+ /// Returns the name of the device
///
public static string DeviceName {
get {
@@ -3378,7 +3378,7 @@ public static PlayerController GetFirstPlayerController() {
public static void GetWorldOrigin(ref Vector3 value) => getWorldOrigin(ref value);
///
- /// Retrieves the current location of the world origin
+ /// Returns the current location of the world origin
///
public static Vector3 GetWorldOrigin() {
Vector3 value = default;
@@ -4499,12 +4499,12 @@ public Pawn(string name = null, Blueprint blueprint = null) {
public void AddMovementInput(in Vector3 worldDirection, float scaleValue = 1.0f, bool force = false) => addMovementInput(Pointer, worldDirection, scaleValue, force);
///
- /// Retrieves vector direction of gravity and returns to a reference
+ /// Retrieves vector direction of gravity
///
public void GetGravityDirection(ref Vector3 value) => getGravityDirection(Pointer, ref value);
///
- /// Retrieves vector direction of gravity
+ /// Returns vector direction of gravity
///
public Vector3 GetGravityDirection() {
Vector3 value = default;
@@ -4653,12 +4653,12 @@ public bool AllowStrafe {
public void ClearFocus(AIFocusPriority priority = AIFocusPriority.High) => clearFocus(Pointer, priority);
///
- /// Retrieves the final position that controller should be looking at and returns to a reference
+ /// Retrieves the final position that controller should be looking at
///
public void GetFocalPoint(ref Vector3 value) => getFocalPoint(Pointer, ref value);
///
- /// Retrieves the final position that controller should be looking at
+ /// Returns the final position that controller should be looking at
///
public Vector3 GetFocalPoint() {
Vector3 value = default;
@@ -5795,12 +5795,12 @@ public float GetTimeKeyPressed(string key) {
}
///
- /// Retrieves mouse sensitivity and returns to a reference
+ /// Retrieves mouse sensitivity
///
public void GetMouseSensitivity(ref Vector2 value) => getMouseSensitivity(Pointer, ref value);
///
- /// Retrieves mouse sensitivity
+ /// Returns mouse sensitivity
///
public Vector2 GetMouseSensitivity() {
Vector2 value = default;
@@ -6025,12 +6025,12 @@ public static Texture2D Load(string name) {
}
///
- /// Retrieves size of the texture and returns to a reference
+ /// Retrieves size of the texture
///
public void GetSize(ref Vector2 value) => getSize(Pointer, ref value);
///
- /// Retrieves size of the texture
+ /// Returns size of the texture
///
public Vector2 GetSize() {
Vector2 value = default;
@@ -6644,12 +6644,12 @@ public string GetAttachedSocketName() {
}
///
- /// Retrieves location of a socket in world space and returns to a reference
+ /// Retrieves location of a socket in world space
///
public void GetSocketLocation(string socketName, ref Vector3 value) => getSocketLocation(Pointer, socketName, ref value);
///
- /// Retrieves location of a socket in world space
+ /// Returns location of a socket in world space
///
public Vector3 GetSocketLocation(string socketName) {
Vector3 value = default;
@@ -6660,12 +6660,12 @@ public Vector3 GetSocketLocation(string socketName) {
}
///
- /// Retrieves rotation of a socket in world space and returns to a reference
+ /// Retrieves rotation of a socket in world space
///
public void GetSocketRotation(string socketName, ref Quaternion value) => getSocketRotation(Pointer, socketName, ref value);
///
- /// Retrieves rotation of a socket in world space
+ /// Returns rotation of a socket in world space
///
public Quaternion GetSocketRotation(string socketName) {
Quaternion value = default;
@@ -6676,12 +6676,12 @@ public Quaternion GetSocketRotation(string socketName) {
}
///
- /// Retrieves velocity of the component, or the velocity of the physics body if simulating physics and returns to a reference
+ /// Retrieves velocity of the component, or the velocity of the physics body if simulating physics
///
public void GetVelocity(ref Vector3 value) => getComponentVelocity(Pointer, ref value);
///
- /// Retrieves velocity of the component, or the velocity of the physics body if simulating physics
+ /// Returns velocity of the component, or the velocity of the physics body if simulating physics
///
public Vector3 GetVelocity() {
Vector3 value = default;
@@ -6692,12 +6692,12 @@ public Vector3 GetVelocity() {
}
///
- /// Retrieves location of the component in world space and returns to a reference
+ /// Retrieves location of the component in world space
///
public void GetLocation(ref Vector3 value) => getComponentLocation(Pointer, ref value);
///
- /// Retrieves location of the component in world space
+ /// Returns location of the component in world space
///
public Vector3 GetLocation() {
Vector3 value = default;
@@ -6708,12 +6708,12 @@ public Vector3 GetLocation() {
}
///
- /// Retrieves rotation of the component in world space and returns to a reference
+ /// Returns rotation of the component in world space
///
public void GetRotation(ref Quaternion value) => getComponentRotation(Pointer, ref value);
///
- /// Retrieves rotation of the component in world space
+ /// Returns rotation of the component in world space
///
public Quaternion GetRotation() {
Quaternion value = default;
@@ -6724,12 +6724,12 @@ public Quaternion GetRotation() {
}
///
- /// Retrieves scale of the component in world space and returns to a reference
+ /// Retrieves scale of the component in world space
///
public void GetScale(ref Vector3 value) => getComponentScale(Pointer, ref value);
///
- /// Retrieves scale of the component in world space
+ /// Returns scale of the component in world space
///
public Vector3 GetScale() {
Vector3 value = default;
@@ -6740,12 +6740,12 @@ public Vector3 GetScale() {
}
///
- /// Retrieves the transform which assigned to the component and returns to a reference
+ /// Returns the transform which assigned to the component
///
public void GetTransform(ref Transform value) => SceneComponent.getComponentTransform(Pointer, ref value);
///
- /// Retrieves the transform which assigned to the component
+ /// Returns the transform which assigned to the component
///
public Transform GetTransform() {
Transform value = default;
@@ -6756,12 +6756,12 @@ public Transform GetTransform() {
}
///
- /// Retrieves the forward X unit direction vector from the component in world space and returns to a reference
+ /// Retrieves the forward X unit direction vector from the component in world space
///
public void GetForwardVector(ref Vector3 value) => getForwardVector(Pointer, ref value);
///
- /// Retrieves the forward X unit direction vector from the component in world space
+ /// Returns the forward X unit direction vector from the component in world space
///
public Vector3 GetForwardVector() {
Vector3 value = default;
@@ -6772,12 +6772,12 @@ public Vector3 GetForwardVector() {
}
///
- /// Retrieves the right Y unit direction vector from the component in world space and returns to a reference
+ /// Retrieves the right Y unit direction vector from the component in world space
///
public void GetRightVector(ref Vector3 value) => getRightVector(Pointer, ref value);
///
- /// Retrieves the right Y unit direction vector from the component in world space
+ /// Returns the right Y unit direction vector from the component in world space
///
public Vector3 GetRightVector() {
Vector3 value = default;
@@ -6788,12 +6788,12 @@ public Vector3 GetRightVector() {
}
///
- /// Retrieves the up Z unit direction vector from the component in world space and returns to a reference
+ /// Retrieves the up Z unit direction vector from the component in world space
///
public void GetUpVector(ref Vector3 value) => getUpVector(Pointer, ref value);
///
- /// Retrieves the up Z unit direction vector from the component in world space
+ /// Returns the up Z unit direction vector from the component in world space
///
public Vector3 GetUpVector() {
Vector3 value = default;
@@ -7222,12 +7222,12 @@ public float LinearDamping {
public void AddTorqueInRadians(in Vector3 torque, string boneName = null, bool accelerationChange = false) => addTorqueInRadians(Pointer, torque, boneName, accelerationChange);
///
- /// Retrieves the linear velocity of a single body and returns to a reference
+ /// Retrieves the linear velocity of a single body
///
public void GetPhysicsLinearVelocity(ref Vector3 value, string boneName = null) => getPhysicsLinearVelocity(Pointer, ref value, boneName);
///
- /// Retrieves the linear velocity of a single body
+ /// Returns the linear velocity of a single body
///
public Vector3 GetPhysicsLinearVelocity(string boneName = null) {
Vector3 value = default;
@@ -7238,12 +7238,12 @@ public Vector3 GetPhysicsLinearVelocity(string boneName = null) {
}
///
- /// Retrieves the linear velocity of a point on a single body and returns to a reference
+ /// Retrieves the linear velocity of a point on a single body
///
public void GetPhysicsLinearVelocityAtPoint(ref Vector3 value, in Vector3 point, string boneName = null) => getPhysicsLinearVelocityAtPoint(Pointer, ref value, point, boneName);
///
- /// Retrieves the linear velocity of a point on a single body
+ /// Returns the linear velocity of a point on a single body
///
public Vector3 GetPhysicsLinearVelocityAtPoint(in Vector3 point, string boneName = null) {
Vector3 value = default;
@@ -7254,12 +7254,12 @@ public Vector3 GetPhysicsLinearVelocityAtPoint(in Vector3 point, string boneName
}
///
- /// Retrieves the angular velocity in degrees of a single body and returns to a reference
+ /// Retrieves the angular velocity in degrees of a single body
///
public void GetPhysicsAngularVelocityInDegrees(ref Vector3 value, string boneName = null) => getPhysicsAngularVelocityInDegrees(Pointer, ref value, boneName);
///
- /// Retrieves the angular velocity in degrees of a single body
+ /// Returns the angular velocity in degrees of a single body
///
public Vector3 GetPhysicsAngularVelocityInDegrees(string boneName = null) {
Vector3 value = default;
@@ -7270,12 +7270,12 @@ public Vector3 GetPhysicsAngularVelocityInDegrees(string boneName = null) {
}
///
- /// Retrieves the angular velocity in radians of a single body and returns to a reference
+ /// Retrieves the angular velocity in radians of a single body
///
public void GetPhysicsAngularVelocityInRadians(ref Vector3 value, string boneName = null) => getPhysicsAngularVelocityInRadians(Pointer, ref value, boneName);
///
- /// Retrieves the angular velocity in radians of a single body
+ /// Returns the angular velocity in radians of a single body
///
public Vector3 GetPhysicsAngularVelocityInRadians(string boneName = null) {
Vector3 value = default;
@@ -7508,12 +7508,12 @@ public BoxComponent(Actor actor, string name = null, bool setAsRoot = false, Blu
}
///
- /// Retrieves the box extents scaled by the component scale and returns to a reference
+ /// Retrieves the box extents scaled by the component scale
///
public void GetScaledBoxExtent(ref Vector3 value) => getScaledBoxExtent(Pointer, ref value);
///
- /// Retrieves the box extents scaled by the component scale
+ /// Returns the box extents scaled by the component scale
///
public Vector3 GetScaledBoxExtent() {
Vector3 value = default;
@@ -7524,12 +7524,12 @@ public Vector3 GetScaledBoxExtent() {
}
///
- /// Retrieves the box extent ignoring the component scale and returns to a reference
+ /// Retrieves the box extent ignoring the component scale
///
public void GetUnscaledBoxExtent(ref Vector3 value) => getUnscaledBoxExtent(Pointer, ref value);
///
- /// Retrieves the box extent ignoring the component scale
+ /// Returns the box extent ignoring the component scale
///
public Vector3 GetUnscaledBoxExtent() {
Vector3 value = default;
@@ -7944,6 +7944,43 @@ public InstancedStaticMeshComponent(Actor actor, string name = null, bool setAsR
public abstract partial class SkinnedMeshComponent : MeshComponent {
private protected SkinnedMeshComponent() { }
+ ///
+ /// Returns the number of bones in the skeleton
+ ///
+ public int GetBonesNumber() => getBonesNumber(Pointer);
+
+ ///
+ /// Returns the index of a bone by name
+ ///
+ public int GetBoneIndex(string boneName) => getBoneIndex(Pointer, boneName);
+
+ ///
+ /// Returns the name of a bone by index
+ ///
+ public string GetBoneName(int boneIndex) {
+ byte[] stringBuffer = ArrayPool.GetStringBuffer();
+
+ getBoneName(Pointer, boneIndex, stringBuffer);
+
+ return Encoding.UTF8.GetString(stringBuffer).TrimFromZero();
+ }
+
+ ///
+ /// Retrieves the transform of a bone by index
+ ///
+ public void GetBoneTransform(int boneIndex, ref Transform value) => getBoneTransform(Pointer, boneIndex, ref value);
+
+ ///
+ /// Returns the transform of a bone by index
+ ///
+ public Transform GetBoneTransform(int boneIndex) {
+ Transform value = default;
+
+ getBoneTransform(Pointer, boneIndex, ref value);
+
+ return value;
+ }
+
///
/// Changes the skeletal mesh
///
diff --git a/Source/Managed/Tests/DynamicEvents.cs b/Source/Managed/Tests/DynamicEvents.cs
index 200b4835..2e8e1a54 100644
--- a/Source/Managed/Tests/DynamicEvents.cs
+++ b/Source/Managed/Tests/DynamicEvents.cs
@@ -79,7 +79,7 @@ public static void OnTick() {
private static void Translate(StaticMeshComponent staticMeshComponent, float direction) {
if (!stopTranslation) {
- Vector3 currentLocation = default(Vector3);
+ Vector3 currentLocation = default;
staticMeshComponent.GetLocation(ref currentLocation);
diff --git a/Source/Managed/Tests/DynamicsConsistency.cs b/Source/Managed/Tests/DynamicsConsistency.cs
index 0eff2267..6429b0a3 100644
--- a/Source/Managed/Tests/DynamicsConsistency.cs
+++ b/Source/Managed/Tests/DynamicsConsistency.cs
@@ -90,7 +90,7 @@ private static void MousePositionTest() {
}
private static void WindowTest() {
- Vector2 viewportSize = default(Vector2);
+ Vector2 viewportSize = default;
Engine.GetViewportSize(ref viewportSize);
diff --git a/Source/Managed/Tests/SkeletalMeshes.cs b/Source/Managed/Tests/SkeletalMeshes.cs
index 20da7f0a..7ff3069a 100644
--- a/Source/Managed/Tests/SkeletalMeshes.cs
+++ b/Source/Managed/Tests/SkeletalMeshes.cs
@@ -23,6 +23,7 @@ public static void OnBeginPlay() {
leftSkeletalMeshComponent.PlayAnimation(AnimationSequence.Load("/Game/Tests/Characters/Animations/IdleAnimationSequence"), true);
Assert.IsTrue(leftSkeletalMeshComponent.IsPlaying);
+ Assert.IsTrue(leftSkeletalMeshComponent.GetBoneName(0) == "root");
Actor rightPrototype = new Actor("rightPrototype");
SkeletalMeshComponent rightSkeletalMeshComponent = new SkeletalMeshComponent(rightPrototype);
@@ -40,6 +41,7 @@ public static void OnBeginPlay() {
AnimationInstance rightPrototypeAnimationInstance = rightSkeletalMeshComponent.GetAnimationInstance();
Assert.IsTrue(rightPrototypeAnimationInstance.IsPlaying(rightPrototypeAnimationMontage));
+ Assert.IsTrue(rightSkeletalMeshComponent.GetBoneName(0) == "root");
}
public static void OnEndPlay() => Debug.ClearOnScreenMessages();
diff --git a/Source/Managed/Tests/SpatialQueries.cs b/Source/Managed/Tests/SpatialQueries.cs
index bb45e058..cafaf96c 100644
--- a/Source/Managed/Tests/SpatialQueries.cs
+++ b/Source/Managed/Tests/SpatialQueries.cs
@@ -29,7 +29,7 @@ public static void OnBeginPlay() {
Debug.DrawBox(boxLocation, boxScale * 50.0f, Quaternion.Identity, Color.SlateBlue, true, thickness: linesThickness);
- Hit hit = default(Hit);
+ Hit hit = default;
Vector3 lineTraceStart = new Vector3(0.0f, 0.0f, 0.0f);
bool hitTraceByChannel = World.LineTraceSingleByChannel(lineTraceStart, boxLocation, CollisionChannel.WorldStatic, ref hit);
diff --git a/Source/Native/Source/UnrealCLR/Private/UnrealCLR.cpp b/Source/Native/Source/UnrealCLR/Private/UnrealCLR.cpp
index cbf384ae..7c311e7f 100644
--- a/Source/Native/Source/UnrealCLR/Private/UnrealCLR.cpp
+++ b/Source/Native/Source/UnrealCLR/Private/UnrealCLR.cpp
@@ -882,6 +882,10 @@ void UnrealCLR::Module::StartupModule() {
int32 head = 0;
Shared::Functions[position++] = Shared::SkinnedMeshComponentFunctions;
+ Shared::SkinnedMeshComponentFunctions[head++] = &UnrealCLRFramework::SkinnedMeshComponent::GetBonesNumber;
+ Shared::SkinnedMeshComponentFunctions[head++] = &UnrealCLRFramework::SkinnedMeshComponent::GetBoneIndex;
+ Shared::SkinnedMeshComponentFunctions[head++] = &UnrealCLRFramework::SkinnedMeshComponent::GetBoneName;
+ Shared::SkinnedMeshComponentFunctions[head++] = &UnrealCLRFramework::SkinnedMeshComponent::GetBoneTransform;
Shared::SkinnedMeshComponentFunctions[head++] = &UnrealCLRFramework::SkinnedMeshComponent::SetSkeletalMesh;
checksum += head;
diff --git a/Source/Native/Source/UnrealCLR/Private/UnrealCLRFramework.cpp b/Source/Native/Source/UnrealCLR/Private/UnrealCLRFramework.cpp
index 9c9291f4..0f92674b 100644
--- a/Source/Native/Source/UnrealCLR/Private/UnrealCLRFramework.cpp
+++ b/Source/Native/Source/UnrealCLR/Private/UnrealCLRFramework.cpp
@@ -1406,10 +1406,6 @@ namespace UnrealCLRFramework {
}
}
- namespace Character {
-
- }
-
namespace Controller {
bool IsLookInputIgnored(AController* Controller) {
return Controller->IsLookInputIgnored();
@@ -2599,6 +2595,24 @@ namespace UnrealCLRFramework {
}
namespace SkinnedMeshComponent {
+ int32 GetBonesNumber(USkinnedMeshComponent* SkinnedMeshComponent) {
+ return SkinnedMeshComponent->GetNumBones();
+ }
+
+ int32 GetBoneIndex(USkinnedMeshComponent* SkinnedMeshComponent, const char* BoneName) {
+ return SkinnedMeshComponent->GetBoneIndex(FName(ANSI_TO_TCHAR(BoneName)));
+ }
+
+ void GetBoneName(USkinnedMeshComponent* SkinnedMeshComponent, int32 BoneIndex, char* BoneName) {
+ const char* boneName = TCHAR_TO_ANSI(*SkinnedMeshComponent->GetBoneName(BoneIndex).ToString());
+
+ UnrealCLR::Utility::Strcpy(BoneName, boneName, UnrealCLR::Utility::Strlen(boneName));
+ }
+
+ void GetBoneTransform(USkinnedMeshComponent* SkinnedMeshComponent, int32 BoneIndex, Transform* Value) {
+ *Value = SkinnedMeshComponent->GetBoneTransform(BoneIndex);
+ }
+
void SetSkeletalMesh(USkinnedMeshComponent* SkinnedMeshComponent, USkeletalMesh* SkeletalMesh, bool ReinitializePose) {
SkinnedMeshComponent->SetSkeletalMesh(SkeletalMesh, ReinitializePose);
}
diff --git a/Source/Native/Source/UnrealCLR/Public/UnrealCLRFramework.h b/Source/Native/Source/UnrealCLR/Public/UnrealCLRFramework.h
index 643bfdd7..937fffe1 100644
--- a/Source/Native/Source/UnrealCLR/Public/UnrealCLRFramework.h
+++ b/Source/Native/Source/UnrealCLR/Public/UnrealCLRFramework.h
@@ -883,6 +883,10 @@ namespace UnrealCLRFramework {
}
namespace SkinnedMeshComponent {
+ static int32 GetBonesNumber(USkinnedMeshComponent* SkinnedMeshComponent);
+ static int32 GetBoneIndex(USkinnedMeshComponent* SkinnedMeshComponent, const char* BoneName);
+ static void GetBoneName(USkinnedMeshComponent* SkinnedMeshComponent, int32 BoneIndex, char* BoneName);
+ static void GetBoneTransform(USkinnedMeshComponent* SkinnedMeshComponent, int32 BoneIndex, Transform* Value);
static void SetSkeletalMesh(USkinnedMeshComponent* SkinnedMeshComponent, USkeletalMesh* SkeletalMesh, bool ReinitializePose);
}