27 lines
436 B
JavaScript
27 lines
436 B
JavaScript
/**
|
|
* R3.D3.Fog
|
|
* @constructor
|
|
*/
|
|
R3.D3.Fog = function(
|
|
inherited
|
|
) {
|
|
|
|
__INHERIT_ONLY__
|
|
|
|
__UPGRADE_TO_RUNTIME__;
|
|
|
|
};
|
|
|
|
R3.D3.Fog.prototype = Object.create(R3.Component.prototype);
|
|
R3.D3.Fog.prototype.constructor = R3.D3.Fog;
|
|
|
|
R3.D3.Fog.prototype.updateInstance = function(property) {
|
|
|
|
if (property === 'color') {
|
|
this.graphics.updateInstance(this, property);
|
|
return;
|
|
}
|
|
|
|
__UPDATE_INSTANCE__;
|
|
};
|