diff --git a/cocos/3d/CCAnimate3D.h b/cocos/3d/CCAnimate3D.h index 22b15be72f..152dc83374 100644 --- a/cocos/3d/CCAnimate3D.h +++ b/cocos/3d/CCAnimate3D.h @@ -139,7 +139,7 @@ protected: EvaluateType _translateEvaluate; EvaluateType _roteEvaluate; EvaluateType _scaleEvaluate; - int _animateQuality; + int _animateQuality; // 0: is low quality 1: is hight quality std::unordered_map _boneCurves; //weak ref std::unordered_map _nodeCurves; diff --git a/cocos/base/CCConfiguration.h b/cocos/base/CCConfiguration.h index 27034806bc..63d10c4df7 100644 --- a/cocos/base/CCConfiguration.h +++ b/cocos/base/CCConfiguration.h @@ -164,7 +164,9 @@ public: */ int getMaxSupportSpotLightInShader() const; - /** get 3d animate quality*/ + /** get 3d animate quality + * @return 0: is low quality 1: is hight quality + */ int getAnimate3DQuality() const; /** Returns whether or not an OpenGL is supported. @@ -233,7 +235,7 @@ protected: int _maxDirLightInShader; //max support directional light in shader int _maxPointLightInShader; // max support point light in shader int _maxSpotLightInShader; // max support spot light in shader - int _animate3DQuality; // 3d animation quality + int _animate3DQuality; // 3d animation quality; 0: is low quality 1: is hight quality ValueMap _valueDict; };