27 lines
559 B
JavaScript
27 lines
559 B
JavaScript
/**
|
|
* R3.D3.API.Effect.Stereo
|
|
* @param apiComponent
|
|
*
|
|
* @property eyeSeperation
|
|
*
|
|
* @constructor
|
|
*/
|
|
R3.D3.API.Effect.Stereo = function(
|
|
apiComponent
|
|
) {
|
|
|
|
R3.D3.API.Effect.call(
|
|
this,
|
|
apiComponent
|
|
);
|
|
|
|
if (R3.Utils.UndefinedOrNull(apiComponent.eyeSeperation)) {
|
|
apiComponent.eyeSeperation = 0.064;
|
|
}
|
|
this.eyeSeperation = apiComponent.eyeSeperation;
|
|
|
|
};
|
|
|
|
R3.D3.API.Effect.Stereo.prototype = Object.create(R3.D3.API.Effect.prototype);
|
|
R3.D3.API.Effect.Stereo.prototype.constructor = R3.D3.API.Effect.Stereo;
|