soundvision/UnityProject/Assets/Scripts/PdConnection/PdSpectrumBind.cs

31 lines
642 B
C#
Raw Normal View History

2019-09-29 10:00:16 +00:00
using UnityEngine;
namespace cylvester
{
public interface IPdSpectrumBind
{
float TrimmedEnergy { get; }
}
public class PdSpectrumBind : MonoBehaviour, IPdSpectrumBind
{
public int channel;
public int startBin;
public int endBin;
[SerializeField] private float topClip;
[SerializeField] private float bottomClip;
[SerializeField] private float trimmedEnergy = 0f;
public float TrimmedEnergy => trimmedEnergy;
private void Start()
{
}
private void Update()
{
}
}
}