예제 #1
0
        public virtual Vector3 GetProperty(ALListener3f property)
        {
            Vector3 value;

            AL.GetListener(property, out value);
            ctx.CheckErrors();
            return(value);
        }
예제 #2
0
        private Vector3 Get(ALListener3f param)
        {
            AssertNotDisposed();

            Vector3 result;

            AL.GetListener(param, out result.X, out result.Y, out result.Z);
            return(result);
        }
예제 #3
0
 public static void GetListener(ALListener3f param, out float value1, out float value2, out float value3)
 {
     ALDelegates.alGetListener3f((int)param, out value1, out value2, out value3);
 }
예제 #4
0
 public static void Listener(ALListener3f param, float value1, float value2, float value3)
 {
     ALDelegates.alListener3f((int)param, value1, value2, value3);
 }
예제 #5
0
 public virtual void SetProperty(ALListener3f property, Vector3 value)
 {
     ctx.Call(() => AL.Listener(property, ref value));
 }
예제 #6
0
 public static void Listener(ALListener3f param, ref Vector3 values)
 {
     AL.Listener(param, values.X, values.Y, values.Z);
 }
예제 #7
0
 public static void GetListener(ALListener3f param, out Vector3 values)
 {
     AL.GetListener(param, out values.X, out values.Y, out values.Z);
 }
예제 #8
0
 void Set(ALListener3f param, Vector3d value)
 {
     using (context.Bind()) AL.Listener(param, (float)value.X, (float)value.Y, (float)value.Z);
 }
예제 #9
0
 void Set(ALListener3f param, Vector3d value)
 {
     using (context.Bind()) AL.Listener(param, (float)value.X, (float)value.Y, (float)value.Z);
 }
예제 #10
0
 Vector3d Get(ALListener3f param)
 {
     float x, y, z; using (context.Bind()) AL.GetListener(param, out x, out y, out z); return(new Vector3d(x, y, z));
 }
예제 #11
0
        private void Set(ALListener3f param, Vector3 value)
        {
            AssertNotDisposed();

            AL.Listener(param, value.X, value.Y, value.Z);
        }
예제 #12
0
		public static void GetListener(ALListener3f param, out float value1, out float value2, out float value3) {
			alGetListener3f((int)param, out value1, out value2, out value3);
		}
예제 #13
0
		public static void Listener(ALListener3f param, float value1, float value2, float value3) {
			alListener3f((int)param, value1, value2, value3);
		}
예제 #14
0
파일: OpenAL.cs 프로젝트: hadow/Commander
 internal static extern void Listener3f(ALListener3f param, float value1, float value2, float value3);
예제 #15
0
 public static extern void Listener(ALListener3f param, float value1, float value2, float value3);
예제 #16
0
 public static void GetListener(ALListener3f param, out float value1, out float value2, out float value3);
예제 #17
0
 internal static extern void GetListener(ALListener3f param, out float value1, out float value2, out float value3);
예제 #18
0
 Vector3d Get(ALListener3f param)
 {
     float x, y, z; using (context.Bind()) AL.GetListener(param, out x, out y, out z); return new Vector3d(x, y, z);
 }