const string | binaryName[Get] Name of the binary this interface wraps. |
IntPtr | context[Get] |
int | ovrAudio_GetPluginContext ( out IntPtr context ) Get the handle to the current context, creating one if necessary. |
IntPtr | |
int | SetAcousticModel ( AcousticModel model ) Explicitly set the reflection model. |
int | Turn on and off specific features of the library. |
int | |
int | CreateAudioGeometry ( out IntPtr geometry ) Create a geometry object. |
int | DestroyAudioGeometry ( IntPtr geometry ) Destroy a geometry object. |
int | Set the properties of a geometry object. |
int | AudioGeometryUploadMeshArrays ( IntPtr geometry, float [] vertices, int vertexCount, int [] indices, int indexCount, MeshGroup [] groups, int groupCount ) Bake mesh data into a geometry object. |
int | AudioGeometryUploadSimplifiedMeshArrays ( IntPtr geometry, float [] vertices, int vertexCount, int [] indices, int indexCount, MeshGroup [] groups, int groupCount, ref MeshSimplification simplification ) Bake mesh data into a geometry object with simplification flags. |
int | Set the transform of a geometry object. |
int | Get the transform of a geometry object. |
int | Write a geometry object into a .xrageo file. |
int | Read in baked geometry from a .xrageo file into a geometry object. |
int | Read in geometry data as raw data input stored in an array. This allows alternate file reading methods. |
int | Save the mesh data of a geometry object into an .obj file. |
int | AudioGeometryGetSimplifiedMesh ( IntPtr geometry, out float [] vertices, out uint [] indices, out uint [] materialIndices ) Get the mesh information that is currently saved to a geometry object. |
int | CreateAudioMaterial ( out IntPtr material ) Create a new material object. |
int | DestroyAudioMaterial ( IntPtr material ) Destroy a material object. |
int | AudioMaterialSetFrequency ( IntPtr material, MaterialProperty property, float frequency, float value ) Set the value of a material property at the given frequency. |
int | AudioMaterialGetFrequency ( IntPtr material, MaterialProperty property, float frequency, out float value ) Get the value of a material property at the given frequency. |
int | Remove all the set values for a material property. |
int | CreateAudioSceneIR ( out IntPtr sceneIR ) Create a new Acoustic Map object. |
int | DestroyAudioSceneIR ( IntPtr sceneIR ) Destroy an Acoustic Map object. |
int | Set an Acoustic Map object to be enabled or disabled. |
int | Get whether an Acoustic Map object is enabled or disabled. |
int | Get the current computation status of an Acoustic Map object. |
int | InitializeAudioSceneIRParameters ( out MapParameters parameters ) Generate the default values for the parameters of an Acoustic Map object. |
int | Bake an Acoustic Map given particular parameters. It will use automatically generated points. |
int | AudioSceneIRComputeCustomPoints ( IntPtr sceneIR, float [] points, UIntPtr pointCount, ref MapParameters parameters ) Bake an Acoustic Map given particular parameters. It will use custom points. |
int | Get the number of points used in the Acoustic Map. |
int | Get the exact points used in the Acoustic Map. |
int | Set the transform of an Acoustic Map object. |
int | Get the transform currently applied to an Acoustic Map object. |
int | Write an Acoustic Map into a .xramap file. |
int | Read a .xramap file into an Acoustic Map object. |
int | Read a raw data array into an Acoustic Map object. Allows for alternate file reading methods. |
int | CreateControlZone ( out IntPtr control ) Create a new Control Zone object. |
int | DestroyControlZone ( IntPtr control ) Destroy a new Control Zone object. |
int | Enable or Disable Control Zone object. |
int | Get whether a Control Zone object is enabled or disabled. |
int | Set the transform of a Control Zone object. |
int | Get the transform currently applied to a Control Zone object. |
int | Set the boundaries of a Control Zone object. |
int | Get the boundaries of a Control Zone object. |
int | Set the distance to fade outward from the boundaries of a Control Zone object. |
int | Get the distance to fade outward from the boundaries of a Control Zone object. |
int | ControlZoneSetFrequency ( IntPtr control, ControlZoneProperty property, float frequency, float value ) Set a property of the Control Zone object for a particular frequency. |
int | Remove all values set for a particular property of a Control Zone object. |
const string MetaXRAcousticNativeInterface.UnityNativeInterface.binaryName |
---|
Name of the binary this interface wraps. This value can be used in [DllImport(binaryName)] decorators and tells Unity what the binary name is for the Unity plug-in. |
IntPtr MetaXRAcousticNativeInterface.UnityNativeInterface.context |
---|
No description available.
|
static int MetaXRAcousticNativeInterface.UnityNativeInterface.ovrAudio_GetPluginContext ( out IntPtr context ) |
---|
Get the handle to the current context, creating one if necessary. Note that Unity's editor, player, and standalone builds will have different contexts. Parameters context The returned handle to the context. Returns Returns an ovrResult indicating success or failure. |
static IntPtr MetaXRAcousticNativeInterface.UnityNativeInterface.ovrAudio_GetVersion ( out int Major, out int Minor, out int Patch ) |
---|
No description available.
|
int MetaXRAcousticNativeInterface.UnityNativeInterface.SetAcousticModel ( AcousticModel model ) |
---|
Explicitly set the reflection model. Parameters Model[in] The reflection model to use (default is Automatic) See Also: AcousticModel |
int MetaXRAcousticNativeInterface.UnityNativeInterface.SetEnabled ( int feature, bool enabled ) |
---|
Turn on and off specific features of the library. Parameters feature specific property to query enabledbool specifying if the feature should be enabled Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.SetEnabled ( EnableFlagInternal feature, bool enabled ) |
---|
No description available.
|
int MetaXRAcousticNativeInterface.UnityNativeInterface.CreateAudioGeometry ( out IntPtr geometry ) |
---|
Create a geometry object. Parameters geometry A pointer to the created geometry object Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.DestroyAudioGeometry ( IntPtr geometry ) |
---|
Destroy a geometry object. Parameters geometry A pointer to the geometry object that should be destroyed Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioGeometrySetObjectFlag ( IntPtr geometry, ObjectFlags flag, bool enabled ) |
---|
Set the properties of a geometry object. Parameters geometry A pointer to the geometry object flagThe property about the geometry to be set enabledbool specifying if the feature should be enabled Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioGeometryUploadMeshArrays ( IntPtr geometry, float [] vertices, int vertexCount, int [] indices, int indexCount, MeshGroup [] groups, int groupCount ) |
---|
Bake mesh data into a geometry object. Parameters geometry A pointer to the geometry object where the mesh data is baked verticesAn array of vertices that describe the mesh vertexCountThe number of vertices in the vertices array indicesAn array of integers that describe the mesh indexCountThe number of integers in the indices array groupsAn array of mesh group data groupCountThe number of mesh groups in the groups array Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioGeometryUploadSimplifiedMeshArrays ( IntPtr geometry, float [] vertices, int vertexCount, int [] indices, int indexCount, MeshGroup [] groups, int groupCount, ref MeshSimplification simplification ) |
---|
Bake mesh data into a geometry object with simplification flags. Parameters geometry A pointer to the geometry object where the mesh data is baked verticesAn array of vertices that describe the mesh vertexCountThe number of vertices in the vertices array indicesAn array of integers that describe the mesh indexCountThe number of integers in the indices array groupsAn array of mesh group data groupCountThe number of mesh groups in the groups array simplificationA struct containing flags for mesh simplification Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioGeometrySetTransform ( IntPtr geometry, in Matrix4x4 matrix ) |
---|
Set the transform of a geometry object. Parameters geometry A pointer to the geometry object matrixA 4x4 matrix that contains the transform to apply Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioGeometryGetTransform ( IntPtr geometry, out float [] matrix4x4 ) |
---|
Get the transform of a geometry object. Parameters geometry A pointer to the geometry object matrixA 4x4 matrix that contains the transform currently applied to the geometry Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioGeometryWriteMeshFile ( IntPtr geometry, string filePath ) |
---|
Write a geometry object into a .xrageo file. Parameters geometry A pointer to the geometry object to be written filePathA fully qualified path to which the output file should be written Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioGeometryReadMeshFile ( IntPtr geometry, string filePath ) |
---|
Read in baked geometry from a .xrageo file into a geometry object. Parameters geometry A pointer to the geometry object where the file data will be read filePathA fully qualified path to the .xrageo file that should be read Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioGeometryReadMeshMemory ( IntPtr geometry, IntPtr data, UInt64 dataLength ) |
---|
Read in geometry data as raw data input stored in an array. This allows alternate file reading methods. Parameters geometry A pointer to the geometry object where the file data will be read dataA pointer to the raw data that should be read dataLengthThe number of bytes in the raw data Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioGeometryWriteMeshFileObj ( IntPtr geometry, string filePath ) |
---|
Save the mesh data of a geometry object into an .obj file. Parameters geometry A pointer to the geometry object where the mesh data is baked filePathA fully qualified path to which the output file should be written Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioGeometryGetSimplifiedMesh ( IntPtr geometry, out float [] vertices, out uint [] indices, out uint [] materialIndices ) |
---|
Get the mesh information that is currently saved to a geometry object. Parameters geometry A pointer to the geometry object where the mesh data is baked verticesAn array of vertices that describe the mesh indicesAn array of integers that describe the mesh materialIndicesAn array of integers that describe the materials Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.CreateAudioMaterial ( out IntPtr material ) |
---|
Create a new material object. Parameters material A pointer to the newly created material object Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.DestroyAudioMaterial ( IntPtr material ) |
---|
Destroy a material object. Parameters material A pointer to the material object to be destroyed Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioMaterialSetFrequency ( IntPtr material, MaterialProperty property, float frequency, float value ) |
---|
Set the value of a material property at the given frequency. Parameters material A pointer to the material object propertyThe material property to set frequencyThe frequency to set the value at valueThe desired value of the material property at the given frequency Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioMaterialGetFrequency ( IntPtr material, MaterialProperty property, float frequency, out float value ) |
---|
Get the value of a material property at the given frequency. Parameters material A pointer to the material object propertyThe material property to get frequencyThe frequency to get the value at valueThe returned material property at the given frequency Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioMaterialReset ( IntPtr material, MaterialProperty property ) |
---|
Remove all the set values for a material property. Parameters material A pointer to the material object propertyThe material property to get Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.CreateAudioSceneIR ( out IntPtr sceneIR ) |
---|
Create a new Acoustic Map object. Parameters sceneIR A pointer to the newly created Acoustic Map object Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.DestroyAudioSceneIR ( IntPtr sceneIR ) |
---|
Destroy an Acoustic Map object. Parameters sceneIR A pointer to the Acoustic Map object to be destroyed Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioSceneIRSetEnabled ( IntPtr sceneIR, bool enabled ) |
---|
Set an Acoustic Map object to be enabled or disabled. Parameters sceneIR A pointer to the Acoustic Map object enabledbool specifying if the Acoustic Map should be enabled or disabled Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioSceneIRGetEnabled ( IntPtr sceneIR, out bool enabled ) |
---|
Get whether an Acoustic Map object is enabled or disabled. Parameters sceneIR A pointer to the Acoustic Map object enabledbool specifying if the Acoustic Map is be enabled or disabled Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioSceneIRGetStatus ( IntPtr sceneIR, out AcousticMapStatus status ) |
---|
Get the current computation status of an Acoustic Map object. Parameters sceneIR A pointer to the Acoustic Map object statusThe current computation status of the Acoustic Map object Returns Returns an ovrResult indicating success or failure See Also: AcousticMapStatus |
int MetaXRAcousticNativeInterface.UnityNativeInterface.InitializeAudioSceneIRParameters ( out MapParameters parameters ) |
---|
Generate the default values for the parameters of an Acoustic Map object. Parameters parameters The initialized parameters with default values Returns Returns an ovrResult indicating success or failure See Also: MapParameters |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioSceneIRCompute ( IntPtr sceneIR, ref MapParameters parameters ) |
---|
Bake an Acoustic Map given particular parameters. It will use automatically generated points. Parameters sceneIR A pointer to the Acoustic Map object parametersThe parameters to be used for the baking Returns Returns an ovrResult indicating success or failure See Also: MapParameters |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioSceneIRComputeCustomPoints ( IntPtr sceneIR, float [] points, UIntPtr pointCount, ref MapParameters parameters ) |
---|
Bake an Acoustic Map given particular parameters. It will use custom points. Parameters sceneIR A pointer to the Acoustic Map object pointsAn array of custom points to be used for the baking pointCountThe number of points in the points array parametersThe parameters to be used for the baking Returns Returns an ovrResult indicating success or failure See Also: MapParameters |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioSceneIRGetPointCount ( IntPtr sceneIR, out UIntPtr pointCount ) |
---|
Get the number of points used in the Acoustic Map. Parameters sceneIR A pointer to the Acoustic Map object pointCountThe number of points in the Acoustic Map Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioSceneIRGetPoints ( IntPtr sceneIR, float [] points, UIntPtr maxPointCount ) |
---|
Get the exact points used in the Acoustic Map. Parameters sceneIR A pointer to the Acoustic Map object pointsAn array of the points used in the Acoustic Map maxPointCountThe maximum number of points that can be stored in the points array Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioSceneIRSetTransform ( IntPtr sceneIR, in Matrix4x4 matrix ) |
---|
Set the transform of an Acoustic Map object. Parameters sceneIR A pointer to the Acoustic Map object matrixThe transform to apply represented in a 4x4 matrix Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioSceneIRGetTransform ( IntPtr sceneIR, out float [] matrix4x4 ) |
---|
Get the transform currently applied to an Acoustic Map object. Parameters sceneIR A pointer to the Acoustic Map object matrix4x4The transform currently applied to the Acoustic Map represented in a 4x4 matrix Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioSceneIRWriteFile ( IntPtr sceneIR, string filePath ) |
---|
Write an Acoustic Map into a .xramap file. Parameters sceneIR A pointer to the Acoustic Map object filePathA fully qualified path to which the output file should be written Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioSceneIRReadFile ( IntPtr sceneIR, string filePath ) |
---|
Read a .xramap file into an Acoustic Map object. Parameters sceneIR A pointer to the Acoustic Map object filePathA fully qualified path which the .xramap file that should be read from Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.AudioSceneIRReadMemory ( IntPtr sceneIR, IntPtr data, UInt64 dataLength ) |
---|
Read a raw data array into an Acoustic Map object. Allows for alternate file reading methods. Parameters sceneIR A pointer to the Acoustic Map object dataA pointer to the raw data that should be read dataLengthThe number of bytes in the raw data Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.CreateControlZone ( out IntPtr control ) |
---|
Create a new Control Zone object. Parameters control A pointer to the Control Zone object Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.DestroyControlZone ( IntPtr control ) |
---|
Destroy a new Control Zone object. Parameters control A pointer to the Control Zone object Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.ControlZoneSetEnabled ( IntPtr control, bool enabled ) |
---|
Enable or Disable Control Zone object. Parameters control A pointer to the Control Zone object enabledbool specifying if the Control Zone should be enabled or disabled Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.ControlZoneGetEnabled ( IntPtr control, out bool enabled ) |
---|
Get whether a Control Zone object is enabled or disabled. Parameters control A pointer to the Control Zone object enabledbool specifying if the Control Zone is enabled or disabled Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.ControlZoneSetTransform ( IntPtr control, in Matrix4x4 matrix ) |
---|
Set the transform of a Control Zone object. Parameters control A pointer to the Control Zone object matrixThe transform to apply represented in a 4x4 matrix Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.ControlZoneGetTransform ( IntPtr control, out float [] matrix4x4 ) |
---|
Get the transform currently applied to a Control Zone object. Parameters control A pointer to the Control Zone object matrix4x4The transform currently applied to the Control Zone represented in a 4x4 matrix Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.ControlZoneSetBox ( IntPtr control, float sizeX, float sizeY, float sizeZ ) |
---|
Set the boundaries of a Control Zone object. Parameters control A pointer to the Control Zone object sizeXThe width of the boundary sizeYThe height of the boundary sizeZThe depth of the boundary Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.ControlZoneGetBox ( IntPtr control, out float sizeX, out float sizeY, out float sizeZ ) |
---|
Get the boundaries of a Control Zone object. Parameters control A pointer to the Control Zone object sizeXThe size of the boundary along the x axis sizeYThe size of the boundary along the y axis sizeZThe size of the boundary along the z axis Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.ControlZoneSetFadeDistance ( IntPtr control, float fadeX, float fadeY, float fadeZ ) |
---|
Set the distance to fade outward from the boundaries of a Control Zone object. Parameters control A pointer to the Control Zone object fadeXThe amount of fade in the x direction fadeYThe amount of fade in the y direction fadeZThe amount of fade in the z direction Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.ControlZoneGetFadeDistance ( IntPtr control, out float fadeX, out float fadeY, out float fadeZ ) |
---|
Get the distance to fade outward from the boundaries of a Control Zone object. Parameters control A pointer to the Control Zone object fadeXThe amount of fade in the x direction fadeYThe amount of fade in the y direction fadeZThe amount of fade in the z direction Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.ControlZoneSetFrequency ( IntPtr control, ControlZoneProperty property, float frequency, float value ) |
---|
Set a property of the Control Zone object for a particular frequency. Parameters control A pointer to the Control Zone object propertyThe property of the Control Zone to set frequencyThe frequency to change the property at in Hz valueThe new value of the property at frequency Returns Returns an ovrResult indicating success or failure |
int MetaXRAcousticNativeInterface.UnityNativeInterface.ControlZoneReset ( IntPtr control, ControlZoneProperty property ) |
---|
Remove all values set for a particular property of a Control Zone object. Parameters control A pointer to the Control Zone object propertyThe property of the Control Zone to set |