mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-23 16:10:50 +01:00
24 lines
479 B
TypeScript
24 lines
479 B
TypeScript
import { IRoomCameraWidgetEffect } from '@nitrots/api';
|
|
|
|
export class RoomCameraWidgetSelectedEffect
|
|
{
|
|
private _effect: IRoomCameraWidgetEffect;
|
|
private _alpha: number;
|
|
|
|
constructor(effect: IRoomCameraWidgetEffect, alpha: number)
|
|
{
|
|
this._effect = effect;
|
|
this._alpha = alpha;
|
|
}
|
|
|
|
public get effect(): IRoomCameraWidgetEffect
|
|
{
|
|
return this._effect;
|
|
}
|
|
|
|
public get alpha(): number
|
|
{
|
|
return this._alpha;
|
|
}
|
|
}
|