From 9f31b7c5ab900da96f6117381a4cf922a511a623 Mon Sep 17 00:00:00 2001 From: kjpou1 Date: Wed, 20 Aug 2014 17:09:54 +0200 Subject: [PATCH] Update CCNode documentation --- docs/en/CocosSharp/CCNode.xml | 65 +++++++++++++++-------------------- 1 file changed, 27 insertions(+), 38 deletions(-) diff --git a/docs/en/CocosSharp/CCNode.xml b/docs/en/CocosSharp/CCNode.xml index fd466710..befa798f 100644 --- a/docs/en/CocosSharp/CCNode.xml +++ b/docs/en/CocosSharp/CCNode.xml @@ -1436,27 +1436,8 @@ - Override this method to draw your own node. The following GL states will be enabled by default: - - Override this method to draw your own node. The following GL states will be enabled by default: - - - glEnableClientState(GL_VERTEX_ARRAY); - - glEnableClientState(GL_VERTEX_ARRAY); - - glEnableClientState(GL_COLOR_ARRAY); - - glEnableClientState(GL_COLOR_ARRAY); - - glEnableClientState(GL_TEXTURE_COORD_ARRAY); - - glEnableClientState(GL_TEXTURE_COORD_ARRAY); - - glEnable(GL_TEXTURE_2D); AND YOU SHOULD NOT DISABLE THEM AFTER DRAWING YOUR NODE But if you enable any other GL state, you should disable it after drawing your node. - - glEnable(GL_TEXTURE_2D); AND YOU SHOULD NOT DISABLE THEM AFTER DRAWING YOUR NODE But if you enable any other GL state, you should disable it after drawing your node. - + Override this method to draw your own node. + When extending a CCNode this is usually one of the methods that is overridden if user wants to represent something to the user. @@ -1519,7 +1500,7 @@ An identifier to find the child node. Gets a child from the container with its tag - To be added. + The node that is identified by the value passed or null Gets a child from the container with its tag @@ -2954,7 +2935,7 @@ - To be added. + Unschedule all scheduled method functions: custom functions, and the Update action. To be added. @@ -2969,9 +2950,9 @@ - To be added. - To be added. - To be added. + Delta time + Override this method to control the updating of the node if it depends on a time difference element. + When extending a CCNode this is usually one of the methods that is overridden if user wants to represent something to the user that depends on a time element. @@ -2983,8 +2964,8 @@ - To be added. - To be added. + Propogates the color to the child nodes of this node. + Override this method to control how the propogation is performed @@ -2996,8 +2977,8 @@ - To be added. - To be added. + Propogates the opacity to the child nodes of this node. + Override this method to control how the propogation is performed @@ -3009,8 +2990,8 @@ - To be added. - To be added. + Update the color property of this node + Override this property to control how the color value is set. @@ -3024,9 +3005,13 @@ - To be added. - To be added. - To be added. + Color of parent + Propagates the children nodes with the Color of their parent + Override this method to control how the color value is propogated to the children of this node. + + + + @@ -3040,9 +3025,13 @@ - To be added. - To be added. - To be added. + Opacity of parent + Propogates the children nodes with Opacity of their parent + Override this method to control how the opacity value is propogated to the children of this node. + + + +