C# Class hyades.MeshReader

Afficher le fichier Open project: zfedoran/bubblebound Class Usage Examples

Méthodes publiques

Méthode Description
ExtractTrianglesFrom ( Model model, List vertices, List indices, Matrix world ) : void

Private Methods

Méthode Description
ExtractModelMeshData ( Microsoft.Xna.Framework.Graphics.ModelMesh mesh, Matrix &transform, List vertices, List indices ) : void

Get all the triangles from all mesh parts

ExtractModelMeshPartData ( Microsoft.Xna.Framework.Graphics.ModelMeshPart meshPart, Matrix &transform, List vertices, List indices ) : void

Get all the triangles from each mesh part (Changed for XNA 4)

GetAbsoluteTransform ( Microsoft.Xna.Framework.Graphics.ModelBone bone ) : Matrix

Transform by a bone position or Identity if no bone is supplied

Method Details

ExtractTrianglesFrom() public static méthode

public static ExtractTrianglesFrom ( Model model, List vertices, List indices, Matrix world ) : void
model Microsoft.Xna.Framework.Graphics.Model
vertices List
indices List
world Matrix
Résultat void