|
DXMultiMeshGeometry3DAddSubMesh Method |
Adds list of MeshGeometry3D with their Transformations and optionally custom texture coordinates.
Namespace: Ab3d.DirectX.ModelsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax public int AddSubMesh(
Material material,
IList<MeshGeometry3D> meshes,
IList<Transform3D> transformations,
IList<IList<Point>> customTextureCoordinates = null,
string subMeshName = null
)
Parameters
- material Material
- Material
- meshes IListMeshGeometry3D
- IList of MeshGeometry3D
- transformations IListTransform3D
- IList of Transform3D
- customTextureCoordinates IListIListPoint (Optional)
- IList of IList of Point
- subMeshName String (Optional)
- name of this submesh
Return Value
Int32returns index of the submesh in the internal collection
See Also