mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
Merge branch 'master' of github.com:nantas/engine
This commit is contained in:
@@ -329,7 +329,6 @@ cc._formatString = function (arg) {
|
||||
/**
|
||||
* Enum for debug modes.
|
||||
* @enum DebugMode
|
||||
* @readOnly
|
||||
*/
|
||||
cc.DebugMode = cc.Enum({
|
||||
/**
|
||||
|
||||
@@ -638,7 +638,7 @@ cc.Ripple3D = cc.Grid3DAction.extend(/** @lends cc.Ripple3D# */{
|
||||
|
||||
/**
|
||||
* get Amplitude rate
|
||||
* @return {*}
|
||||
* @return {Number}
|
||||
*/
|
||||
getAmplitudeRate:function () {
|
||||
return this._amplitudeRate;
|
||||
|
||||
@@ -9,8 +9,13 @@ var AnimationNode = require('./types').AnimationNode;
|
||||
* @class AnimationState
|
||||
* @extends AnimationNode
|
||||
* @constructor
|
||||
*/
|
||||
|
||||
/**
|
||||
* @method AnimationState
|
||||
* @param {AnimationClip} clip
|
||||
* @param {String} [name]
|
||||
* @return AnimationState
|
||||
*/
|
||||
function AnimationState (clip, name) {
|
||||
AnimationNode.call(this, null, null, {
|
||||
@@ -28,7 +33,7 @@ var state = AnimationState.prototype;
|
||||
* The clip that is being played by this animation state.
|
||||
* @property clip
|
||||
* @type {AnimationClip}
|
||||
* @readOnly
|
||||
* @final
|
||||
*/
|
||||
JS.get(state, 'clip', function () {
|
||||
return this._clip;
|
||||
|
||||
Reference in New Issue
Block a user