Click or drag to resize
Ab4d.SharpEngine logo

MultiMaterialModelNodeAddSubMesh Method

Overload List
 NameDescription
Public methodAddSubMesh(SubMesh) AddSubMesh method adds the specified SubMesh to this MultiMaterialModelNode.
Public methodAddSubMesh(Int32, Int32, Material, Material, String) AddSubMesh method adds a new SubMesh that will render triangles with the specified start index and index count. Note that index numbers are not triangle indexes but indexes in the IndexBuffer. For example to set start location to the second triangle, set startIndexLocation to 3 (indices from 0 to 2 define the first triangle).
Public methodAddSubMesh(Int32, Int32, BoundingBox, Material, Material, String) AddSubMesh method adds a new SubMesh that will render triangles with the specified start index and index count. Note that index numbers are not triangle indexes but indexes in the IndexBuffer. For example to set start location to the second triangle, set startIndexLocation to 3 (indices from 0 to 2 define the first triangle).
Top
See Also