Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
MeshBoneDefinition.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using SiliconStudio.Core;
4 using SiliconStudio.Core.Mathematics;
5 using SiliconStudio.Core.Serialization;
6 
7 namespace SiliconStudio.Paradox.Effects
8 {
9  /// <summary>
10  /// Describes a bone cluster inside a <see cref="Mesh"/>.
11  /// </summary>
12  [DataContract]
13  public struct MeshBoneDefinition
14  {
15  /// <summary>
16  /// The node index in <see cref="ModelViewHierarchyUpdater.NodeTransformations"/>.
17  /// </summary>
18  public int NodeIndex;
19 
20  /// <summary>
21  /// The matrix to transform from mesh space to local space of this bone.
22  /// </summary>
24  }
25 }
Matrix LinkToMeshMatrix
The matrix to transform from mesh space to local space of this bone.
int NodeIndex
The node index in ModelViewHierarchyUpdater.NodeTransformations.
Describes a bone cluster inside a Mesh.
Represents a 4x4 mathematical matrix.
Definition: Matrix.cs:47