示例#1
0
		public Listener(IntPtr systemHandle, int id, Vector position, Vector velocity, Vector forward, Vector up)
		{
			this.systemHandle = systemHandle;
			this.id = id;
			this.position = position;
			this.velocity = velocity;
			this.forward = forward;
			this.up = up;
		}
示例#2
0
		public PositionAndVelocity(Vector position, Vector velocity)
		{
			Position = position;
			Velocity = velocity;
		}
示例#3
0
		public Rotation(Vector forward, Vector up)
		{
			this.Forward = forward;
			this.Up = up;
		}
		internal static extern Result FMOD_Channel_Get3DConeOrientation(IntPtr channelHandle, ref Vector orientation);
		internal static extern Result FMOD_System_Get3DListenerAttributes(IntPtr systemHandle, int listener, ref Vector position, ref Vector velocity, ref Vector forward, ref Vector up);
		internal static extern Result FMOD_Channel_Get3DAttributes(IntPtr channelHandle, ref Vector position, ref Vector velocity);
		internal static extern Result FMOD_Geometry_GetScale(IntPtr geometry, ref Vector scale);
		internal static extern Result FMOD_Geometry_GetPosition(IntPtr geometry, ref Vector position);
		internal static extern Result FMOD_Geometry_GetRotation(IntPtr geometry, ref Vector forward, ref Vector up);
示例#10
0
		internal static extern Result FMOD_Geometry_GetPolygonVertex(IntPtr geometry, int polygonIndex, int vertexIndex, ref Vector vertex);
示例#11
0
		internal static extern Result FMOD_ChannelGroup_Override3DAttributes(IntPtr channelGroupHandle, ref Vector position, ref Vector velocity);