|
M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Inherits TaleWorlds.Engine.GameEntityComponent.
Public Member Functions | |
| int | GetLodMaskForMeshAtIndex (int index) |
| int | GetTotalGpuSize () |
| int | RemoveMeshesWithTag (string tag) |
| int | RemoveMeshesWithoutTag (string tag) |
| int | GetMeshCountWithTag (string tag) |
| bool | HasVertexBufferOrEditDataOrPackageItem () |
| bool | HasAnyGeneratedLods () |
| bool | HasAnyLods () |
| void | CopyTo (MetaMesh res, bool copyMeshes=true) |
| void | ClearMeshesForOtherLods (int lodToKeep) |
| void | ClearMeshesForLod (int lodToClear) |
| void | ClearMeshesForLowerLods (int lodToClear) |
| void | ClearMeshes () |
| void | SetNumLods (int lodToClear) |
| MetaMesh | CreateCopy () |
| void | AddMesh (Mesh mesh) |
| void | AddMesh (Mesh mesh, uint lodLevel) |
| void | AddMetaMesh (MetaMesh metaMesh) |
| void | SetCullMode (MBMeshCullingMode cullMode) |
| void | AddMaterialShaderFlag (String materialShaderFlag) |
| void | MergeMultiMeshes (MetaMesh metaMesh) |
| void | AssignClothBodyFrom (MetaMesh metaMesh) |
| void | BatchMultiMeshes (MetaMesh metaMesh) |
| bool | HasClothData () |
| void | BatchMultiMeshesMultiple (List< MetaMesh > metaMeshes) |
| void | ClearEditData () |
| Mesh | GetMeshAtIndex (int meshIndex) |
| Mesh | GetFirstMeshWithTag (string tag) |
| uint | GetFactor1 () |
| void | SetGlossMultiplier (float value) |
| uint | GetFactor2 () |
| void | SetFactor1Linear (uint linearFactorColor1) |
| void | SetFactor2Linear (uint linearFactorColor2) |
| void | SetFactor1 (uint factorColor1) |
| void | SetFactor2 (uint factorColor2) |
| void | SetVectorArgument (float vectorArgument0, float vectorArgument1, float vectorArgument2, float vectorArgument3) |
| void | SetVectorArgument2 (float vectorArgument0, float vectorArgument1, float vectorArgument2, float vectorArgument3) |
| Vec3 | GetVectorArgument2 () |
| void | SetMaterial (Material material) |
| void | SetLodBias (int lodBias) |
| void | SetBillboarding (BillboardType billboard) |
| void | UseHeadBoneFaceGenScaling (Skeleton skeleton, sbyte headLookDirectionBoneIndex, MatrixFrame frame) |
| void | DrawTextWithDefaultFont (string text, Vec2 textPositionMin, Vec2 textPositionMax, Vec2 size, uint color, TextFlags flags) |
| void | PreloadForRendering () |
| int | CheckResources () |
| void | PreloadShaders (bool useTableau, bool useTeamColor) |
| void | RecomputeBoundingBox (bool recomputeMeshes) |
| void | AddEditDataUser () |
| void | ReleaseEditDataUser () |
| void | SetEditDataPolicy (EditDataPolicy policy) |
| MatrixFrame | Fit () |
| BoundingBox | GetBoundingBox () |
| VisibilityMaskFlags | GetVisibilityMask () |
| void | SetVisibilityMask (VisibilityMaskFlags visibilityMask) |
| string | GetName () |
| void | SetContourState (bool alwaysVisible) |
| void | SetContourColor (uint color) |
| void | SetMaterialToSubMeshesWithTag (Material bodyMaterial, string tag) |
| void | SetFactorColorToSubMeshesWithTag (uint color, string tag) |
Public Member Functions inherited from TaleWorlds.Engine.GameEntityComponent | |
| GameEntity | GetEntity () |
| virtual MetaMesh | GetFirstMetaMesh () |
Static Public Member Functions | |
| static MetaMesh | CreateMetaMesh (string name=null) |
| static MetaMesh | GetCopy (string metaMeshName, bool showErrors=true, bool mayReturnNull=false) |
| static void | CheckMetaMeshExistence (string metaMeshName, int lod_count_check) |
| static MetaMesh | GetMorphedCopy (string metaMeshName, float morphTarget, bool showErrors) |
| static void | GetAllMultiMeshes (ref List< MetaMesh > multiMeshList) |
| static MetaMesh | GetMultiMesh (string name) |
Properties | |
| bool | IsValid [get] |
| int | MeshCount [get] |
| MatrixFrame | Frame [get, set] |
| Vec3 | VectorUserData [get, set] |
|
static |
| int TaleWorlds.Engine.MetaMesh.GetLodMaskForMeshAtIndex | ( | int | index | ) |
| int TaleWorlds.Engine.MetaMesh.GetTotalGpuSize | ( | ) |
| int TaleWorlds.Engine.MetaMesh.RemoveMeshesWithTag | ( | string | tag | ) |
| int TaleWorlds.Engine.MetaMesh.RemoveMeshesWithoutTag | ( | string | tag | ) |
| int TaleWorlds.Engine.MetaMesh.GetMeshCountWithTag | ( | string | tag | ) |
| bool TaleWorlds.Engine.MetaMesh.HasVertexBufferOrEditDataOrPackageItem | ( | ) |
| bool TaleWorlds.Engine.MetaMesh.HasAnyGeneratedLods | ( | ) |
| bool TaleWorlds.Engine.MetaMesh.HasAnyLods | ( | ) |
|
static |
| void TaleWorlds.Engine.MetaMesh.CopyTo | ( | MetaMesh | res, |
| bool | copyMeshes = true |
||
| ) |
| void TaleWorlds.Engine.MetaMesh.ClearMeshesForOtherLods | ( | int | lodToKeep | ) |
| void TaleWorlds.Engine.MetaMesh.ClearMeshesForLod | ( | int | lodToClear | ) |
| void TaleWorlds.Engine.MetaMesh.ClearMeshesForLowerLods | ( | int | lodToClear | ) |
| void TaleWorlds.Engine.MetaMesh.ClearMeshes | ( | ) |
| void TaleWorlds.Engine.MetaMesh.SetNumLods | ( | int | lodToClear | ) |
|
static |
|
static |
| MetaMesh TaleWorlds.Engine.MetaMesh.CreateCopy | ( | ) |
| void TaleWorlds.Engine.MetaMesh.AddMesh | ( | Mesh | mesh | ) |
| void TaleWorlds.Engine.MetaMesh.AddMesh | ( | Mesh | mesh, |
| uint | lodLevel | ||
| ) |
| void TaleWorlds.Engine.MetaMesh.AddMetaMesh | ( | MetaMesh | metaMesh | ) |
| void TaleWorlds.Engine.MetaMesh.SetCullMode | ( | MBMeshCullingMode | cullMode | ) |
| void TaleWorlds.Engine.MetaMesh.AddMaterialShaderFlag | ( | String | materialShaderFlag | ) |
| void TaleWorlds.Engine.MetaMesh.MergeMultiMeshes | ( | MetaMesh | metaMesh | ) |
| void TaleWorlds.Engine.MetaMesh.AssignClothBodyFrom | ( | MetaMesh | metaMesh | ) |
| void TaleWorlds.Engine.MetaMesh.BatchMultiMeshes | ( | MetaMesh | metaMesh | ) |
| bool TaleWorlds.Engine.MetaMesh.HasClothData | ( | ) |
| void TaleWorlds.Engine.MetaMesh.BatchMultiMeshesMultiple | ( | List< MetaMesh > | metaMeshes | ) |
| void TaleWorlds.Engine.MetaMesh.ClearEditData | ( | ) |
| Mesh TaleWorlds.Engine.MetaMesh.GetMeshAtIndex | ( | int | meshIndex | ) |
| Mesh TaleWorlds.Engine.MetaMesh.GetFirstMeshWithTag | ( | string | tag | ) |
| uint TaleWorlds.Engine.MetaMesh.GetFactor1 | ( | ) |
| void TaleWorlds.Engine.MetaMesh.SetGlossMultiplier | ( | float | value | ) |
| uint TaleWorlds.Engine.MetaMesh.GetFactor2 | ( | ) |
| void TaleWorlds.Engine.MetaMesh.SetFactor1Linear | ( | uint | linearFactorColor1 | ) |
| void TaleWorlds.Engine.MetaMesh.SetFactor2Linear | ( | uint | linearFactorColor2 | ) |
| void TaleWorlds.Engine.MetaMesh.SetFactor1 | ( | uint | factorColor1 | ) |
| void TaleWorlds.Engine.MetaMesh.SetFactor2 | ( | uint | factorColor2 | ) |
| void TaleWorlds.Engine.MetaMesh.SetVectorArgument | ( | float | vectorArgument0, |
| float | vectorArgument1, | ||
| float | vectorArgument2, | ||
| float | vectorArgument3 | ||
| ) |
| void TaleWorlds.Engine.MetaMesh.SetVectorArgument2 | ( | float | vectorArgument0, |
| float | vectorArgument1, | ||
| float | vectorArgument2, | ||
| float | vectorArgument3 | ||
| ) |
| Vec3 TaleWorlds.Engine.MetaMesh.GetVectorArgument2 | ( | ) |
| void TaleWorlds.Engine.MetaMesh.SetMaterial | ( | Material | material | ) |
| void TaleWorlds.Engine.MetaMesh.SetLodBias | ( | int | lodBias | ) |
| void TaleWorlds.Engine.MetaMesh.SetBillboarding | ( | BillboardType | billboard | ) |
| void TaleWorlds.Engine.MetaMesh.UseHeadBoneFaceGenScaling | ( | Skeleton | skeleton, |
| sbyte | headLookDirectionBoneIndex, | ||
| MatrixFrame | frame | ||
| ) |
| void TaleWorlds.Engine.MetaMesh.DrawTextWithDefaultFont | ( | string | text, |
| Vec2 | textPositionMin, | ||
| Vec2 | textPositionMax, | ||
| Vec2 | size, | ||
| uint | color, | ||
| TextFlags | flags | ||
| ) |
| void TaleWorlds.Engine.MetaMesh.PreloadForRendering | ( | ) |
| int TaleWorlds.Engine.MetaMesh.CheckResources | ( | ) |
| void TaleWorlds.Engine.MetaMesh.PreloadShaders | ( | bool | useTableau, |
| bool | useTeamColor | ||
| ) |
| void TaleWorlds.Engine.MetaMesh.RecomputeBoundingBox | ( | bool | recomputeMeshes | ) |
| void TaleWorlds.Engine.MetaMesh.AddEditDataUser | ( | ) |
| void TaleWorlds.Engine.MetaMesh.ReleaseEditDataUser | ( | ) |
| void TaleWorlds.Engine.MetaMesh.SetEditDataPolicy | ( | EditDataPolicy | policy | ) |
| MatrixFrame TaleWorlds.Engine.MetaMesh.Fit | ( | ) |
| BoundingBox TaleWorlds.Engine.MetaMesh.GetBoundingBox | ( | ) |
| VisibilityMaskFlags TaleWorlds.Engine.MetaMesh.GetVisibilityMask | ( | ) |
| void TaleWorlds.Engine.MetaMesh.SetVisibilityMask | ( | VisibilityMaskFlags | visibilityMask | ) |
| string TaleWorlds.Engine.MetaMesh.GetName | ( | ) |
|
static |
|
static |
| void TaleWorlds.Engine.MetaMesh.SetContourState | ( | bool | alwaysVisible | ) |
| void TaleWorlds.Engine.MetaMesh.SetContourColor | ( | uint | color | ) |
| void TaleWorlds.Engine.MetaMesh.SetMaterialToSubMeshesWithTag | ( | Material | bodyMaterial, |
| string | tag | ||
| ) |
| void TaleWorlds.Engine.MetaMesh.SetFactorColorToSubMeshesWithTag | ( | uint | color, |
| string | tag | ||
| ) |
|
get |
|
get |
|
getset |
|
getset |