Browse Source

added a getter for transformation version - its useful to detect changes in node and implement stuff like octree etc.

Ronen 8 years ago
parent
commit
a60e2e0c62
1 changed files with 6 additions and 0 deletions
  1. 6 0
      MonoGameSceneGraph/Source/Node.cs

+ 6 - 0
MonoGameSceneGraph/Source/Node.cs

@@ -104,6 +104,12 @@ namespace MonoGameSceneGraph
         /// </summary>
         public Node Parent { get { return _parent; } }
 
+        /// <summary>
+        /// Transformation version is a special identifier that changes whenever the world transformations
+        /// of this node changes. Its not necessarily a sequence, but if you check this number for changes every
+        /// frame its a good indication of transformation change.
+        /// </summary>
+
         /// <summary>
         /// Draw the node and its children.
         /// </summary>