r3-legacy/src/r3-d3-boneWeight.js

47 lines
824 B
JavaScript

/**
* R3.D3.BoneWeight
* @param apiComponent
* @constructor
*/
R3.D3.BoneWeight = function(
apiComponent
) {
__RUNTIME_COMPONENT__;
__UPGRADE_TO_RUNTIME__;
};
R3.D3.BoneWeight.prototype = Object.create(R3.Component.prototype);
R3.D3.BoneWeight.prototype.constructor = R3.D3.BoneWeight;
/**
* R3.D3.BoneWeight.prototype.createInstance
*/
R3.D3.BoneWeight.prototype.createInstance = function() {
this.instance = true;
__CREATE_INSTANCE__;
};
/**
* R3.D3.BoneWeight.prototype.updateInstance
* @param property
*/
R3.D3.BoneWeight.prototype.updateInstance = function(property) {
if (property === 'boneIndex') {
throw new Error('TODO: update boneIndex');
}
if (property === 'weight') {
throw new Error('TODO: update weight');
}
__UPDATE_INSTANCE__;
};