M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Engine.MeshBuilder Class Reference

Classes

struct  Face
 
struct  FaceCorner
 

Public Member Functions

 MeshBuilder ()
 
int AddFaceCorner (Vec3 position, Vec3 normal, Vec2 uvCoord, uint color)
 
int AddFace (int patchNode0, int patchNode1, int patchNode2)
 
void Clear ()
 
Mesh Finalize ()
 

Static Public Member Functions

static Mesh CreateUnitMesh ()
 
static Mesh CreateTilingWindowMesh (string baseMeshName, Vec2 meshSizeMin, Vec2 meshSizeMax, Vec2 borderThickness, Vec2 bgBorderThickness)
 
static Mesh CreateTilingButtonMesh (string baseMeshName, Vec2 meshSizeMin, Vec2 meshSizeMax, Vec2 borderThickness)
 

Constructor & Destructor Documentation

◆ MeshBuilder()

TaleWorlds.Engine.MeshBuilder.MeshBuilder ( )

Member Function Documentation

◆ AddFaceCorner()

int TaleWorlds.Engine.MeshBuilder.AddFaceCorner ( Vec3 position,
Vec3 normal,
Vec2 uvCoord,
uint color )

◆ AddFace()

int TaleWorlds.Engine.MeshBuilder.AddFace ( int patchNode0,
int patchNode1,
int patchNode2 )

◆ Clear()

void TaleWorlds.Engine.MeshBuilder.Clear ( )

◆ Finalize()

Mesh TaleWorlds.Engine.MeshBuilder.Finalize ( )

◆ CreateUnitMesh()

static Mesh TaleWorlds.Engine.MeshBuilder.CreateUnitMesh ( )
static

◆ CreateTilingWindowMesh()

static Mesh TaleWorlds.Engine.MeshBuilder.CreateTilingWindowMesh ( string baseMeshName,
Vec2 meshSizeMin,
Vec2 meshSizeMax,
Vec2 borderThickness,
Vec2 bgBorderThickness )
static

◆ CreateTilingButtonMesh()

static Mesh TaleWorlds.Engine.MeshBuilder.CreateTilingButtonMesh ( string baseMeshName,
Vec2 meshSizeMin,
Vec2 meshSizeMax,
Vec2 borderThickness )
static