| 
    M&B: Bannerlord 1.0.0
    
   The horns sound, the ravens gather. 
   | 
 
Defines Matrix frame class for a coordinate frame.
Public Member Functions | |
| MatrixFrame (Mat3 rot, Vec3 o) | |
| Initializes a new instance of matrix frame.   More... | |
| MatrixFrame (float _11, float _12, float _13, float _21, float _22, float _23, float _31, float _32, float _33, float _41, float _42, float _43) | |
| Initializes a new instance of matrix frame from a 4x3 matrix(in flat form)   More... | |
| MatrixFrame (float _11, float _12, float _13, float _14, float _21, float _22, float _23, float _24, float _31, float _32, float _33, float _34, float _41, float _42, float _43, float _44) | |
| Vec3 | TransformToParent (Vec3 v) | 
| Transforms vector to parent frame.   More... | |
| Vec3 | TransformToLocal (Vec3 v) | 
| Transforms vector to local frame.   More... | |
| bool | NearlyEquals (MatrixFrame rhs, float epsilon=MBMath.Epsilon) | 
| Vec3 | TransformToLocalNonOrthogonal (Vec3 v) | 
| MatrixFrame | TransformToLocalNonOrthogonal (ref MatrixFrame frame) | 
| MatrixFrame | TransformToParent (MatrixFrame m) | 
| Transforms a matrix frame to parent frame.   More... | |
| MatrixFrame | TransformToLocal (MatrixFrame m) | 
| Transforms matrix frame to local frame.   More... | |
| Vec3 | TransformToParentWithW (Vec3 _s) | 
| MatrixFrame | GetUnitRotFrame (float removedScale) | 
| MatrixFrame | Inverse () | 
| void | Rotate (float radian, Vec3 axis) | 
| override string | ToString () | 
| Creates readable string representation   More... | |
| override bool | Equals (object obj) | 
| Determines whether the specified generic object is equal to this instance.   More... | |
| override int | GetHashCode () | 
| Returns a hash code for this instance.   More... | |
| MatrixFrame | Strafe (float a) | 
| Moves the origin on the local x-coordinate of the frame.   More... | |
| MatrixFrame | Advance (float a) | 
| Moves the origin on the local y-coordinate of the frame   More... | |
| MatrixFrame | Elevate (float a) | 
| Moves the origin on the local z-coordinate of the frame   More... | |
| void | Scale (Vec3 scalingVector) | 
| Scales the matrix frame according to scaling vector   More... | |
| Vec3 | GetScale () | 
| void | Fill () | 
| void | AssertFilled () | 
Static Public Member Functions | |
| static MatrixFrame | Lerp (MatrixFrame m1, MatrixFrame m2, float alpha) | 
| static MatrixFrame | Slerp (MatrixFrame m1, MatrixFrame m2, float alpha) | 
| static MatrixFrame | operator* (MatrixFrame m1, MatrixFrame m2) | 
| Implements the operator *.   More... | |
| static bool | operator== (MatrixFrame m1, MatrixFrame m2) | 
| Implements the operator ==.   More... | |
| static bool | operator!= (MatrixFrame m1, MatrixFrame m2) | 
| Implements the operator !=.   More... | |
| static MatrixFrame | CreateLookAt (Vec3 position, Vec3 target, Vec3 upVector) | 
| Builds a left-handed look-at matrix.   More... | |
| static MatrixFrame | CenterFrameOfTwoPoints (Vec3 p1, Vec3 p2, Vec3 upVector) | 
Public Attributes | |
| Mat3 | rotation | 
| Rotation matrix   More... | |
| Vec3 | origin | 
| Origin of coordinate frame wrt to parent frame.   More... | |
Properties | |
| static MatrixFrame | Identity [get] | 
| Gets an identity frame.   More... | |
| static MatrixFrame | Zero [get] | 
| bool | IsIdentity [get] | 
| bool | IsZero [get] | 
| float | this[int i, int j] [get, set] | 
| rot | The rotation matrix. | 
| o | The origin point. | 
| TaleWorlds.Library.MatrixFrame.MatrixFrame | ( | float | _11, | 
| float | _12, | ||
| float | _13, | ||
| float | _21, | ||
| float | _22, | ||
| float | _23, | ||
| float | _31, | ||
| float | _32, | ||
| float | _33, | ||
| float | _41, | ||
| float | _42, | ||
| float | _43 | ||
| ) | 
| _11 | The _11. | 
| _12 | The _12. | 
| _13 | The _13. | 
| _21 | The _21. | 
| _22 | The _22. | 
| _23 | The _23. | 
| _31 | The _31. | 
| _32 | The _32. | 
| _33 | The _33. | 
| _41 | The _41. | 
| _42 | The _42. | 
| _43 | The _43. | 
| TaleWorlds.Library.MatrixFrame.MatrixFrame | ( | float | _11, | 
| float | _12, | ||
| float | _13, | ||
| float | _14, | ||
| float | _21, | ||
| float | _22, | ||
| float | _23, | ||
| float | _24, | ||
| float | _31, | ||
| float | _32, | ||
| float | _33, | ||
| float | _34, | ||
| float | _41, | ||
| float | _42, | ||
| float | _43, | ||
| float | _44 | ||
| ) | 
| v | Vector in local frame. | 
| v | Vector in parent frame. | 
| bool TaleWorlds.Library.MatrixFrame.NearlyEquals | ( | MatrixFrame | rhs, | 
| float | epsilon = MBMath.Epsilon  | 
        ||
| ) | 
| MatrixFrame TaleWorlds.Library.MatrixFrame.TransformToLocalNonOrthogonal | ( | ref MatrixFrame | frame | ) | 
      
  | 
  static | 
      
  | 
  static | 
| MatrixFrame TaleWorlds.Library.MatrixFrame.TransformToParent | ( | MatrixFrame | m | ) | 
| m | Matrix frame in local frame. | 
| MatrixFrame TaleWorlds.Library.MatrixFrame.TransformToLocal | ( | MatrixFrame | m | ) | 
| m | Matrix frame in parent frame. | 
| MatrixFrame TaleWorlds.Library.MatrixFrame.GetUnitRotFrame | ( | float | removedScale | ) | 
| MatrixFrame TaleWorlds.Library.MatrixFrame.Inverse | ( | ) | 
| void TaleWorlds.Library.MatrixFrame.Rotate | ( | float | radian, | 
| Vec3 | axis | ||
| ) | 
      
  | 
  static | 
| m1 | The m1. | 
| m2 | The m2. | 
      
  | 
  static | 
| m1 | The m1. | 
| m2 | The m2. | 
      
  | 
  static | 
| m1 | The m1. | 
| m2 | The m2. | 
| override string TaleWorlds.Library.MatrixFrame.ToString | ( | ) | 
| override bool TaleWorlds.Library.MatrixFrame.Equals | ( | object | obj | ) | 
| obj | The generic object to compare with this instance. | 
true if the specified generic object is equal to this instance; otherwise, false. | override int TaleWorlds.Library.MatrixFrame.GetHashCode | ( | ) | 
| MatrixFrame TaleWorlds.Library.MatrixFrame.Strafe | ( | float | a | ) | 
| a | Units to strafe | 
| MatrixFrame TaleWorlds.Library.MatrixFrame.Advance | ( | float | a | ) | 
| a | Units to advance | 
| MatrixFrame TaleWorlds.Library.MatrixFrame.Elevate | ( | float | a | ) | 
| a | Units to elevate | 
| void TaleWorlds.Library.MatrixFrame.Scale | ( | Vec3 | scalingVector | ) | 
| scalingVector | Units to scale | 
| Vec3 TaleWorlds.Library.MatrixFrame.GetScale | ( | ) | 
      
  | 
  static | 
| position | |
| target | |
| upVector | 
      
  | 
  static | 
| void TaleWorlds.Library.MatrixFrame.Fill | ( | ) | 
| void TaleWorlds.Library.MatrixFrame.AssertFilled | ( | ) | 
| Mat3 TaleWorlds.Library.MatrixFrame.rotation | 
| Vec3 TaleWorlds.Library.MatrixFrame.origin | 
      
  | 
  staticget | 
      
  | 
  staticget | 
      
  | 
  get | 
      
  | 
  get | 
      
  | 
  getset |