Show / Hide Table of Contents

Class ModuleMesh.SubMesh

Information about which triangles from triangles map to which material.

Inheritance
System.Object
ModuleMesh.SubMesh
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CarbideFunction.Wildtile
Syntax
[Serializable]
public class SubMesh

Fields

indicesCount

How many indices to consume when drawing triangles from in the triangles array.

Is a multiple of 3. Divide by 3 to get the number of triangles in this submesh.

Declaration
public int indicesCount
Field Value
Type Description
System.Int32

material

A reference to the Unity Material that should be used when rendering this submesh.

Declaration
public Material material
Field Value
Type Description
Material

startIndex

Which index to start drawing triangles from in the triangles array.

Is a multiple of 3.

Declaration
public int startIndex
Field Value
Type Description
System.Int32
In This Article
Generated by DocFX Version: 4.1.0 - click to show/hide other versions