OVRLipSyncMicInput Class Reference
Inheritance diagram for OVRLipSyncMicInput:
Public Types | |
| enum | micActivation { micActivation.HoldToSpeak, micActivation.PushToSpeak, micActivation.ConstantSpeak } |
Public Member Functions | |
| void | MicDeviceGUI (float left, float top, float width, float height, float buttonSpaceTop, float buttonSpaceLeft) |
| Mics the device GU. More... | |
| void | GetMicCaps () |
| Gets the mic caps. More... | |
| void | StartMicrophone () |
| Starts the microphone. More... | |
| void | StopMicrophone () |
| Stops the microphone. More... | |
Public Attributes | |
| AudioSource | audioSource = null |
| bool | enableMicSelectionGUI = false |
| KeyCode | micSelectionGUIKey = KeyCode.M |
| micActivation | micControl = micActivation.ConstantSpeak |
| KeyCode | micActivationKey = KeyCode.Space |
| string | selectedDevice |
Properties | |
| float | MicFrequency [get, set] |
Member Enumeration Documentation
◆ micActivation
|
strong |
Member Function Documentation
◆ GetMicCaps()
| void OVRLipSyncMicInput.GetMicCaps | ( | ) |
Gets the mic caps.
◆ MicDeviceGUI()
| void OVRLipSyncMicInput.MicDeviceGUI | ( | float | left, |
| float | top, | ||
| float | width, | ||
| float | height, | ||
| float | buttonSpaceTop, | ||
| float | buttonSpaceLeft | ||
| ) |
Mics the device GU.
- Parameters
-
left Left. top Top. width Width. height Height. buttonSpaceTop Button space top. buttonSpaceLeft Button space left.
◆ StartMicrophone()
| void OVRLipSyncMicInput.StartMicrophone | ( | ) |
Starts the microphone.
◆ StopMicrophone()
| void OVRLipSyncMicInput.StopMicrophone | ( | ) |
Stops the microphone.
Member Data Documentation
◆ audioSource
| AudioSource OVRLipSyncMicInput.audioSource = null |
◆ enableMicSelectionGUI
| bool OVRLipSyncMicInput.enableMicSelectionGUI = false |
◆ micActivationKey
| KeyCode OVRLipSyncMicInput.micActivationKey = KeyCode.Space |
◆ micControl
| micActivation OVRLipSyncMicInput.micControl = micActivation.ConstantSpeak |
◆ micSelectionGUIKey
| KeyCode OVRLipSyncMicInput.micSelectionGUIKey = KeyCode.M |
◆ selectedDevice
| string OVRLipSyncMicInput.selectedDevice |
Property Documentation
◆ MicFrequency
|
getset |
The documentation for this class was generated from the following file:
- Oculus/LipSync/Scripts/OVRLipSyncMicInput.cs
1.8.13