mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
32 lines
861 B
C#
32 lines
861 B
C#
using System;
|
|
using System.Numerics;
|
|
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; }
|
|
bool IsGlobal { get; }
|
|
|
|
[MustUseReturnValue]
|
|
bool SetPosition(Vector2 position);
|
|
void SetPitch(float pitch);
|
|
void SetGlobal();
|
|
void SetVolume(float decibels);
|
|
void SetVolumeDirect(float gain);
|
|
void SetMaxDistance(float maxDistance);
|
|
void SetRolloffFactor(float rolloffFactor);
|
|
void SetReferenceDistance(float refDistance);
|
|
void SetOcclusion(float blocks);
|
|
void SetPlaybackPosition(float seconds);
|
|
void SetVelocity(Vector2 velocity);
|
|
}
|
|
}
|