private static extern RESULT FMOD_Event_Get3DAttributes(IntPtr _event, ref VECTOR position, ref VECTOR velocity, IntPtr orientation);
private static extern RESULT FMOD_Geometry_GetScale(IntPtr geometry, ref VECTOR scale);
public RESULT get3DAttributes(ref VECTOR position, ref float mindistance, ref float maxdistance) { return FMOD_Reverb_Get3DAttributes(reverbraw, ref position, ref mindistance, ref maxdistance); }
private static extern RESULT FMOD_Geometry_AddPolygon(IntPtr geometry, float directocclusion, float reverbocclusion, int doublesided, int numvertices, VECTOR[] vertices, ref int polygonindex);
private static extern RESULT FMOD_Geometry_GetRotation(IntPtr geometry, ref VECTOR forward, ref VECTOR up);
public RESULT getPolygonVertex(int index, int vertexindex, ref VECTOR vertex) { return FMOD_Geometry_GetPolygonVertex(geometryraw, index, vertexindex, ref vertex); }
public RESULT getPosition(ref VECTOR position) { return FMOD_Geometry_GetPosition(geometryraw, ref position); }
public RESULT set3DCustomRolloff(ref VECTOR points, int numpoints) { return FMOD_Sound_Set3DCustomRolloff(soundraw, ref points, numpoints); }
private static extern RESULT FMOD_Sound_Set3DCustomRolloff(IntPtr sound, ref VECTOR points, int numpoints);
private static extern RESULT FMOD_System_Get3DListenerAttributes(IntPtr system, int listener, ref VECTOR pos, ref VECTOR vel, ref VECTOR forward, ref VECTOR up);
private static extern RESULT FMOD_System_GetGeometryOcclusion(IntPtr system, ref VECTOR listener, ref VECTOR source, ref float direct, ref float reverb);
public RESULT getGeometryOcclusion(ref VECTOR listener, ref VECTOR source, ref float direct, ref float reverb) { return FMOD_System_GetGeometryOcclusion(systemraw, ref listener, ref source, ref direct, ref reverb); }
public RESULT get3DListenerAttributes(int listener, ref VECTOR pos, ref VECTOR vel, ref VECTOR forward, ref VECTOR up) { return FMOD_System_Get3DListenerAttributes(systemraw, listener, ref pos, ref vel, ref forward, ref up); }
private static extern RESULT FMOD_EventReverb_Set3DAttributes(IntPtr eventreverb, ref VECTOR position, float mindistance, float maxdistance);
private static extern RESULT FMOD_ChannelGroup_Override3DAttributes(IntPtr channelgroup, ref VECTOR pos, ref VECTOR vel);
public RESULT get3DAttributes(ref VECTOR pos, ref VECTOR vel) { return FMOD_Channel_Get3DAttributes(channelraw, ref pos, ref vel); }
public RESULT addPolygon(float directocclusion, float reverbocclusion, bool doublesided, int numvertices, VECTOR[] vertices, ref int polygonindex) { return FMOD_Geometry_AddPolygon(geometryraw, directocclusion, reverbocclusion, (doublesided ? 1 : 0), numvertices, vertices, ref polygonindex); }
public RESULT get3DConeOrientation(ref VECTOR orientation) { return FMOD_Channel_Get3DConeOrientation(channelraw, ref orientation); }
public RESULT getRotation(ref VECTOR forward, ref VECTOR up) { return FMOD_Geometry_GetRotation(geometryraw, ref forward, ref up); }
public RESULT set3DCustomRolloff(ref VECTOR points, int numpoints) { return FMOD_Channel_Set3DCustomRolloff(channelraw, ref points, numpoints); }
public RESULT getScale(ref VECTOR scale) { return FMOD_Geometry_GetScale(geometryraw, ref scale); }
private static extern RESULT FMOD_Channel_Get3DAttributes(IntPtr channel, ref VECTOR pos, ref VECTOR vel);
private static extern RESULT FMOD_Geometry_GetPolygonVertex(IntPtr geometry, int index, int vertexindex, ref VECTOR vertex);
private static extern RESULT FMOD_Channel_Get3DConeOrientation(IntPtr channel, ref VECTOR orientation);
private static extern RESULT FMOD_Geometry_GetPosition(IntPtr geometry, ref VECTOR position);
private static extern RESULT FMOD_Channel_Set3DCustomRolloff(IntPtr channel, ref VECTOR points, int numpoints);
// Reverb manipulation. public RESULT set3DAttributes(ref VECTOR position, float mindistance, float maxdistance) { return FMOD_Reverb_Set3DAttributes(reverbraw, ref position, mindistance, maxdistance); }
public RESULT override3DAttributes(ref VECTOR pos, ref VECTOR vel) { return FMOD_ChannelGroup_Override3DAttributes(channelgroupraw, ref pos, ref vel); }
private static extern RESULT FMOD_Reverb_Get3DAttributes(IntPtr reverb, ref VECTOR position, ref float mindistance, ref float maxdistance);
public RESULT get3DAttributes(ref VECTOR position, ref VECTOR velocity, ref VECTOR orientation) { return FMOD_Event_Get3DAttributes(eventraw, ref position, ref velocity, ref orientation); }