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; }
public PositionAndVelocity(Vector position, Vector velocity) { Position = position; Velocity = velocity; }
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);
internal static extern Result FMOD_Geometry_GetPolygonVertex(IntPtr geometry, int polygonIndex, int vertexIndex, ref Vector vertex);
internal static extern Result FMOD_ChannelGroup_Override3DAttributes(IntPtr channelGroupHandle, ref Vector position, ref Vector velocity);