40 lines
735 B
JavaScript
40 lines
735 B
JavaScript
/**
|
|
* R3.D3.Light.Ambient
|
|
* @param apiComponent
|
|
* @constructor
|
|
*/
|
|
R3.D3.Light.Ambient = function(
|
|
apiComponent
|
|
) {
|
|
|
|
__RUNTIME_COMPONENT__;
|
|
|
|
R3.D3.Light.call(
|
|
this,
|
|
true
|
|
)
|
|
|
|
};
|
|
|
|
R3.D3.Light.Ambient.prototype = Object.create(R3.D3.Light.prototype);
|
|
R3.D3.Light.Ambient.prototype.constructor = R3.D3.Light.Ambient;
|
|
|
|
/**
|
|
* Creates a light instance
|
|
* @returns {*}
|
|
*/
|
|
R3.D3.Light.Ambient.prototype.createInstance = function() {
|
|
|
|
this.instance = this.graphics.LightAmbient(this);
|
|
|
|
__CREATE_INSTANCE__;
|
|
|
|
};
|
|
|
|
/**
|
|
* Updates the instance with the current state
|
|
*/
|
|
R3.D3.Light.Ambient.prototype.updateInstance = function(property) {
|
|
R3.D3.Light.prototype.updateInstance.call(this, property);
|
|
};
|