예제 #1
0
 internal void Update()
 {
     if (Listener.Ptr == IntPtr.Zero)
     {
         return;
     }
     AudioLayer.ListenerPush3D(Listener, ref Position, ref forward, ref up, ref Velocity, ref WorldTransform);
 }
예제 #2
0
 public unsafe void Update()
 {
     if (Listener.Ptr == IntPtr.Zero)
     {
         return;
     }
     AudioLayer.ListenerPush3D(Listener, (float *)Interop.Fixed(ref Position), (float *)Interop.Fixed(ref forward), (float *)Interop.Fixed(ref up), (float *)Interop.Fixed(ref Velocity));
 }