nitro-renderer/packages/camera/src/RoomCameraWidgetSelectedEffect.ts

24 lines
479 B
TypeScript
Raw Normal View History

2024-03-20 02:53:17 +01:00
import { IRoomCameraWidgetEffect } from '@nitrots/api';
2021-06-15 22:52:08 +02:00
export class RoomCameraWidgetSelectedEffect
{
private _effect: IRoomCameraWidgetEffect;
private _alpha: number;
constructor(effect: IRoomCameraWidgetEffect, alpha: number)
{
2022-03-03 01:21:30 +01:00
this._effect = effect;
this._alpha = alpha;
2021-06-15 22:52:08 +02:00
}
public get effect(): IRoomCameraWidgetEffect
{
return this._effect;
}
public get alpha(): number
{
return this._alpha;
}
}