Struct DFMesh.DFSubMesh
Stores mesh submesh data. Each submesh has a unique texture.
Namespace: DaggerfallConnect
Assembly: Assembly-CSharp.dll
Syntax
[Serializable]
public struct DFSubMesh
Fields
| Improve this Doc View SourcePlanes
Array of faces sharing the same texture.
Declaration
public DFMesh.DFPlane[] Planes
Field Value
Type | Description |
---|---|
DFMesh.DFPlane[] |
TextureArchive
Texture archive index. Used to determine which texture file to load (e.g. TEXTURE.210).
Declaration
public int TextureArchive
Field Value
Type | Description |
---|---|
Int32 |
TextureRecord
Texture record index. Used to determine which texture record (index) to load from archive.
Declaration
public int TextureRecord
Field Value
Type | Description |
---|---|
Int32 |
TotalTriangles
Total number of triangles in this submesh. Helpful for allocating index buffers.
Declaration
public int TotalTriangles
Field Value
Type | Description |
---|---|
Int32 |