| 
    M&B: Bannerlord 1.1.0
    
   The horns sound, the ravens gather. 
   | 
 
Inherits TaleWorlds.Engine.Resource.
Public Member Functions | |
| Mesh | GetBaseMesh () | 
| void | SetColorAndStroke (uint color, uint strokeColor, bool drawStroke) | 
| void | SetMeshRenderOrder (int renderOrder) | 
| bool | HasTag (string str) | 
| Mesh | CreateCopy () | 
| Creates and returns a separate copy of this mesh.   | |
| void | SetMaterial (string newMaterialName) | 
| void | SetVectorArgument (float vectorArgument0, float vectorArgument1, float vectorArgument2, float vectorArgument3) | 
| void | SetVectorArgument2 (float vectorArgument0, float vectorArgument1, float vectorArgument2, float vectorArgument3) | 
| void | SetMaterial (Material material) | 
| Sets 'material' as the material of this mesh.   | |
| Material | GetMaterial () | 
| Material | GetSecondMaterial () | 
| int | AddFaceCorner (Vec3 position, Vec3 normal, Vec2 uvCoord, uint color, System.UIntPtr lockHandle) | 
| int | AddFace (int patchNode0, int patchNode1, int patchNode2, System.UIntPtr lockHandle) | 
| void | ClearMesh () | 
| void | SetColorAlpha (uint newAlpha) | 
| uint | GetFaceCount () | 
| uint | GetFaceCornerCount () | 
| void | ComputeNormals () | 
| void | ComputeTangents () | 
| void | AddMesh (string meshResourceName, MatrixFrame meshFrame) | 
| void | AddMesh (Mesh mesh, MatrixFrame meshFrame) | 
| MatrixFrame | GetLocalFrame () | 
| void | SetLocalFrame (MatrixFrame meshFrame) | 
| void | SetVisibilityMask (VisibilityMaskFlags visibilityMask) | 
| void | UpdateBoundingBox () | 
| void | SetAsNotEffectedBySeason () | 
| float | GetBoundingBoxWidth () | 
| float | GetBoundingBoxHeight () | 
| Vec3 | GetBoundingBoxMin () | 
| Vec3 | GetBoundingBoxMax () | 
| void | AddTriangle (Vec3 p1, Vec3 p2, Vec3 p3, Vec2 uv1, Vec2 uv2, Vec2 uv3, uint color, System.UIntPtr lockHandle) | 
| void | AddTriangleWithVertexColors (Vec3 p1, Vec3 p2, Vec3 p3, Vec2 uv1, Vec2 uv2, Vec2 uv3, uint c1, uint c2, uint c3, System.UIntPtr lockHandle) | 
| void | HintIndicesDynamic () | 
| void | HintVerticesDynamic () | 
| void | RecomputeBoundingBox () | 
| void | SetEditDataFaceCornerVertexColor (int index, uint color) | 
| uint | GetEditDataFaceCornerVertexColor (int index) | 
| void | PreloadForRendering () | 
| void | SetContourColor (Vec3 color, bool alwaysVisible, bool maskMesh) | 
| void | DisableContour () | 
| void | SetExternalBoundingBox (BoundingBox bbox) | 
| void | AddEditDataUser () | 
| void | ReleaseEditDataUser () | 
| void | SetEditDataPolicy (EditDataPolicy policy) | 
| System.UIntPtr | LockEditDataWrite () | 
| void | UnlockEditDataWrite (System.UIntPtr handle) | 
Static Public Member Functions | |
| static Mesh | CreateMeshWithMaterial (Material material) | 
| static Mesh | CreateMesh (bool editable=true) | 
| static Mesh | GetFromResource (string meshName) | 
| Initializes a new instance of the MBMesh class. Creates an empty mesh. Since each mesh need to have a material, it should be provided by 'material'.   | |
| static Mesh | GetRandomMeshWithVdecl (int inputLayout) | 
Properties | |
| string | Name [get, set] | 
| MBMeshCullingMode | CullingMode [set] | 
| float | MorphTime [set] | 
| uint | Color [get, set] | 
| Primary color.   | |
| uint | Color2 [get, set] | 
| Secondary color.   | |
| BillboardType | Billboard [get, set] | 
| VisibilityMaskFlags | VisibilityMask [get, set] | 
| int | EditDataFaceCornerCount [get] | 
  Properties inherited from TaleWorlds.Engine.Resource | |
| bool | IsValid [get] | 
Additional Inherited Members | |
  Protected Member Functions inherited from TaleWorlds.Engine.Resource | |
| Resource () | |
| void | CheckResourceParameter (Resource param, string paramName="") | 
| Check if the parameter 'param' is null or invalid and throws an exception containing 'paramName' as further information.   | |
      
  | 
  static | 
| Mesh TaleWorlds.Engine.Mesh.GetBaseMesh | ( | ) | 
      
  | 
  static | 
| material | The material. | 
Returns a MBMesh instance whose name is 'meshName'.
| meshName | Name of the mesh to get | 
      
  | 
  static | 
| void TaleWorlds.Engine.Mesh.SetColorAndStroke | ( | uint | color, | 
| uint | strokeColor, | ||
| bool | drawStroke | ||
| ) | 
| void TaleWorlds.Engine.Mesh.SetMeshRenderOrder | ( | int | renderOrder | ) | 
| bool TaleWorlds.Engine.Mesh.HasTag | ( | string | str | ) | 
| Mesh TaleWorlds.Engine.Mesh.CreateCopy | ( | ) | 
| void TaleWorlds.Engine.Mesh.SetMaterial | ( | string | newMaterialName | ) | 
| void TaleWorlds.Engine.Mesh.SetVectorArgument | ( | float | vectorArgument0, | 
| float | vectorArgument1, | ||
| float | vectorArgument2, | ||
| float | vectorArgument3 | ||
| ) | 
| void TaleWorlds.Engine.Mesh.SetVectorArgument2 | ( | float | vectorArgument0, | 
| float | vectorArgument1, | ||
| float | vectorArgument2, | ||
| float | vectorArgument3 | ||
| ) | 
| void TaleWorlds.Engine.Mesh.SetMaterial | ( | Material | material | ) | 
| material | The material to set | 
| Material TaleWorlds.Engine.Mesh.GetMaterial | ( | ) | 
| Material TaleWorlds.Engine.Mesh.GetSecondMaterial | ( | ) | 
| int TaleWorlds.Engine.Mesh.AddFaceCorner | ( | Vec3 | position, | 
| Vec3 | normal, | ||
| Vec2 | uvCoord, | ||
| uint | color, | ||
| System::UIntPtr | lockHandle | ||
| ) | 
| int TaleWorlds.Engine.Mesh.AddFace | ( | int | patchNode0, | 
| int | patchNode1, | ||
| int | patchNode2, | ||
| System::UIntPtr | lockHandle | ||
| ) | 
| void TaleWorlds.Engine.Mesh.ClearMesh | ( | ) | 
| void TaleWorlds.Engine.Mesh.SetColorAlpha | ( | uint | newAlpha | ) | 
| uint TaleWorlds.Engine.Mesh.GetFaceCount | ( | ) | 
| uint TaleWorlds.Engine.Mesh.GetFaceCornerCount | ( | ) | 
| void TaleWorlds.Engine.Mesh.ComputeNormals | ( | ) | 
| void TaleWorlds.Engine.Mesh.ComputeTangents | ( | ) | 
| void TaleWorlds.Engine.Mesh.AddMesh | ( | string | meshResourceName, | 
| MatrixFrame | meshFrame | ||
| ) | 
| void TaleWorlds.Engine.Mesh.AddMesh | ( | Mesh | mesh, | 
| MatrixFrame | meshFrame | ||
| ) | 
| MatrixFrame TaleWorlds.Engine.Mesh.GetLocalFrame | ( | ) | 
| void TaleWorlds.Engine.Mesh.SetLocalFrame | ( | MatrixFrame | meshFrame | ) | 
| void TaleWorlds.Engine.Mesh.SetVisibilityMask | ( | VisibilityMaskFlags | visibilityMask | ) | 
| void TaleWorlds.Engine.Mesh.UpdateBoundingBox | ( | ) | 
| void TaleWorlds.Engine.Mesh.SetAsNotEffectedBySeason | ( | ) | 
| float TaleWorlds.Engine.Mesh.GetBoundingBoxWidth | ( | ) | 
| float TaleWorlds.Engine.Mesh.GetBoundingBoxHeight | ( | ) | 
| Vec3 TaleWorlds.Engine.Mesh.GetBoundingBoxMin | ( | ) | 
| Vec3 TaleWorlds.Engine.Mesh.GetBoundingBoxMax | ( | ) | 
| void TaleWorlds.Engine.Mesh.AddTriangle | ( | Vec3 | p1, | 
| Vec3 | p2, | ||
| Vec3 | p3, | ||
| Vec2 | uv1, | ||
| Vec2 | uv2, | ||
| Vec2 | uv3, | ||
| uint | color, | ||
| System::UIntPtr | lockHandle | ||
| ) | 
| void TaleWorlds.Engine.Mesh.AddTriangleWithVertexColors | ( | Vec3 | p1, | 
| Vec3 | p2, | ||
| Vec3 | p3, | ||
| Vec2 | uv1, | ||
| Vec2 | uv2, | ||
| Vec2 | uv3, | ||
| uint | c1, | ||
| uint | c2, | ||
| uint | c3, | ||
| System::UIntPtr | lockHandle | ||
| ) | 
| void TaleWorlds.Engine.Mesh.HintIndicesDynamic | ( | ) | 
| void TaleWorlds.Engine.Mesh.HintVerticesDynamic | ( | ) | 
| void TaleWorlds.Engine.Mesh.RecomputeBoundingBox | ( | ) | 
| void TaleWorlds.Engine.Mesh.SetEditDataFaceCornerVertexColor | ( | int | index, | 
| uint | color | ||
| ) | 
| uint TaleWorlds.Engine.Mesh.GetEditDataFaceCornerVertexColor | ( | int | index | ) | 
| void TaleWorlds.Engine.Mesh.PreloadForRendering | ( | ) | 
| void TaleWorlds.Engine.Mesh.SetContourColor | ( | Vec3 | color, | 
| bool | alwaysVisible, | ||
| bool | maskMesh | ||
| ) | 
| void TaleWorlds.Engine.Mesh.DisableContour | ( | ) | 
| void TaleWorlds.Engine.Mesh.SetExternalBoundingBox | ( | BoundingBox | bbox | ) | 
| void TaleWorlds.Engine.Mesh.AddEditDataUser | ( | ) | 
| void TaleWorlds.Engine.Mesh.ReleaseEditDataUser | ( | ) | 
| void TaleWorlds.Engine.Mesh.SetEditDataPolicy | ( | EditDataPolicy | policy | ) | 
| System.UIntPtr TaleWorlds.Engine.Mesh.LockEditDataWrite | ( | ) | 
| void TaleWorlds.Engine.Mesh.UnlockEditDataWrite | ( | System::UIntPtr | handle | ) | 
      
  | 
  getset | 
      
  | 
  set | 
      
  | 
  set | 
      
  | 
  getset | 
      
  | 
  getset | 
      
  | 
  getset | 
      
  | 
  getset | 
      
  | 
  get |