r3-legacy/bak/r3-controls-d3-editor.js

49 lines
859 B
JavaScript

/**
* R3.Controls.D3.Editor
* @param apiComponent
* @constructor
*/
R3.Controls.D3.Editor = function(
apiComponent
) {
__RUNTIME_COMPONENT__;
R3.Controls.D3.call(
this,
true
);
};
/**
* Inheritance
* @type {R3.Controls}
*/
R3.Controls.D3.Editor.prototype = Object.create(R3.Controls.D3.prototype);
R3.Controls.D3.Editor.prototype.constructor = R3.Controls.D3.Editor;
/**
* Create Instance
*/
R3.Controls.D3.Editor.prototype.createInstance = function() {
this.instance = this.graphics.EditorControls(this);
__CREATE_INSTANCE__;
};
/**
* Update Instance
*/
R3.Controls.D3.Editor.prototype.updateInstance = function(property) {
if (
property === 'raycaster'
) {
console.warn('todo : update raycaster');
}
R3.Controls.D3.prototype.updateInstance.call(this, property);
};