mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-03 02:27:08 +02:00
30 lines
811 B
C#
30 lines
811 B
C#
using System;
|
|
using JetBrains.Annotations;
|
|
using Robust.Shared.Maths;
|
|
|
|
namespace Robust.Client.Graphics
|
|
{
|
|
public interface IClydeAudioSource : IDisposable
|
|
{
|
|
void StartPlaying();
|
|
void StopPlaying();
|
|
|
|
bool IsPlaying { get; }
|
|
|
|
bool IsLooping { get; set; }
|
|
|
|
[MustUseReturnValue]
|
|
bool SetPosition(Vector2 position);
|
|
void SetPitch(float pitch);
|
|
void SetGlobal();
|
|
void SetVolume(float decibels);
|
|
void SetVolumeDirect(float decibels);
|
|
void SetMaxDistance(float maxDistance);
|
|
void SetRolloffFactor(float rolloffFactor);
|
|
void SetReferenceDistance(float refDistance);
|
|
void SetOcclusion(float blocks);
|
|
void SetPlaybackPosition(float seconds);
|
|
void SetVelocity(Vector2 velocity);
|
|
}
|
|
}
|