skeleton.js: rename autofmt

This commit is contained in:
Leslie
2019-01-14 16:43:57 +08:00
parent 36f1d38e9d
commit 7b603046eb
@@ -23,11 +23,10 @@
THE SOFTWARE.
****************************************************************************/
// @ts-check
import { _decorator } from "../../core/data";
import { _decorator } from '../../core/data';
const { ccclass, property } = _decorator;
import { Asset } from "../../assets/asset";
import { Mat4 } from "../../core/value-types";
import { Asset } from '../../assets/asset';
import { Mat4 } from '../../core/value-types';
/**
* CLASS Skeleton
@@ -40,42 +39,42 @@ import { Mat4 } from "../../core/value-types";
*/
@ccclass('cc.Skeleton')
export default class Skeleton extends Asset {
/**
* The path of joints.
* @type {string[]}
*/
@property([String])
_joints = [];
/**
* The path of joints.
* @type {string[]}
*/
@property([String])
public _joints = [];
/**
* The inverse bind matrices of joints.
* @type {Mat4[]}
*/
@property([Mat4])
_inverseBindMatrices = [];
/**
* The inverse bind matrices of joints.
* @type {Mat4[]}
*/
@property([Mat4])
public _inverseBindMatrices = [];
/**
* Gets the bind pose matrices of joints.
* @type {Mat4[]}
*/
get bindposes() {
return this._inverseBindMatrices;
}
/**
* Gets the bind pose matrices of joints.
* @type {Mat4[]}
*/
get bindposes () {
return this._inverseBindMatrices;
}
/**
* Sets the bind pose matrices of joints.
* @type {Mat4[]}
*/
set bindposes(value) {
this._inverseBindMatrices = value;
}
/**
* Sets the bind pose matrices of joints.
* @type {Mat4[]}
*/
set bindposes (value) {
this._inverseBindMatrices = value;
}
/**
* Gets the paths of joints.
* @type {string[]}
*/
get joints() {
return this._joints;
}
/**
* Gets the paths of joints.
* @type {string[]}
*/
get joints () {
return this._joints;
}
}
cc.Skeleton = Skeleton;