CRIWARE Unity Plugin Manual
Last Updated: 2024-07-12
|
3D Transceiver object More...
Inherits CriDisposable.
Public Member Functions | |
CriAtomEx3dTransceiver () | |
Creates a 3D Transceiver object More... | |
override void | Dispose () |
Discards a 3D Transceiver object More... | |
void | Update () |
Updates the 3D Transceiver More... | |
void | SetInputPosition (Vector3 position) |
Sets the position of the 3D Transceiver input More... | |
void | SetOutputPosition (Vector3 position) |
Sets the position of the 3D Transceiver output More... | |
void | SetInputOrientation (Vector3 front, Vector3 top) |
Sets the orientation of the 3D Transceiver input More... | |
void | SetOutputOrientation (Vector3 front, Vector3 top) |
Sets the orientation of the 3D Transceiver output More... | |
void | SetOutputConeParameter (float insideAngle, float outsideAngle, float outsideVolume) |
Sets the sound cone parameters for the 3D Transceiver output More... | |
void | SetOutputMinMaxDistance (float minDistance, float maxDistance) |
Sets the minimum/maximum distance of the 3D Transceiver output More... | |
void | SetOutputInteriorPanField (float radius, float interiorDistance) |
Sets the interior Panning boundary distance for the 3D Transceiver output More... | |
void | SetInputCrossFadeField (float directAudioRadius, float crossfadeDistance) |
Sets the cross-fade boundary distance of the 3D Transceiver input More... | |
void | SetOutputVolume (float volume) |
Sets the 3D Transceiver output volume More... | |
void | AttachAisac (string globalAisacName) |
Attach AISAC to the 3D Transceiver More... | |
void | DetachAisac (string globalAisacName) |
Detach AISAC from the 3D Transceiver More... | |
void | SetMaxAngleAisacDelta (float maxDelta) |
Sets the maximum amount of change in angle AISAC control value More... | |
void | SetDistanceAisacControlId (ushort aisacControlId) |
Sets the Distance AISAC Control ID More... | |
void | SetListenerBasedAzimuthAngleAisacControlId (ushort aisacControlId) |
Sets the listener reference azimuth AISAC control setting ID More... | |
void | SetListenerBasedElevationAngleAisacControlId (ushort aisacControlId) |
Sets the listener reference elevation AISAC control setting ID More... | |
void | SetTransceiverOutputBasedAzimuthAngleAisacControlId (ushort aisacControlId) |
Sets the 3D Transceiver output reference azimuth AISAC control ID More... | |
void | SetTransceiverOutputBasedElevationAngleAisacControlId (ushort aisacControlId) |
Sets the 3D Transceiver output reference elevation AISAC control ID More... | |
void | Set3dRegion (CriAtomEx3dRegion region3d) |
Sets the 3D region More... | |
3D Transceiver object
|
inline |
Creates a 3D Transceiver object
|
inline |
Discards a 3D Transceiver object
|
inline |
Updates the 3D Transceiver
: // トランシーバーの作成 CriAtomEx3dTransceiver transceiver = new CriAtomEx3dTransceiver(); : // トランシーバーの入力位置を設定 transceiver.SetInputPosition(Vector3.zero);
// トランシーバーの出力位置を設定 transceiver.SetOutputPosition(Vector3.zero);
// 注意)この時点ではトランシーバーの位置はまだ変更されていません。
// 変更の適用 transceiver.Update(); :
|
inline |
Sets the position of the 3D Transceiver input
position | Input position vector |
|
inline |
Sets the position of the 3D Transceiver output
position | Output position vector |
|
inline |
Sets the orientation of the 3D Transceiver input
front | Forward vector |
top | Upper vector |
|
inline |
Sets the orientation of the 3D Transceiver output
front | Forward vector |
top | Upper vector |
|
inline |
Sets the sound cone parameters for the 3D Transceiver output
insideAngle | Sound cone inside angle |
outsideAngle | Sound cone outside angle |
outsideVolume | Sound cone outside volume |
|
inline |
Sets the minimum/maximum distance of the 3D Transceiver output
minDistance | Minimum distance |
maxDistance | Maximum distance |
|
inline |
Sets the interior Panning boundary distance for the 3D Transceiver output
radius | Radius of the 3D Transceiver output |
interiorDistance | Interior distance |
|
inline |
Sets the cross-fade boundary distance of the 3D Transceiver input
directAudioRadius | Radius of direct sound area |
crossfadeDistance | Cross-fade distance |
|
inline |
Sets the 3D Transceiver output volume
volume | Volume |
|
inline |
Attach AISAC to the 3D Transceiver
globalAisacName | Global AISAC name to attach |
|
inline |
Detach AISAC from the 3D Transceiver
globalAisacName | Global AISAC name to detach |
|
inline |
Sets the maximum amount of change in angle AISAC control value
maxDelta | Maximum amount of change in angle AISAC control value |
|
inline |
Sets the Distance AISAC Control ID
aisacControlId | Distance AISAC Control ID |
|
inline |
Sets the listener reference azimuth AISAC control setting ID
aisacControlId | Listener reference azimuth AISAC control ID |
|
inline |
Sets the listener reference elevation AISAC control setting ID
aisacControlId | Listener reference elevation AISAC control ID |
|
inline |
Sets the 3D Transceiver output reference azimuth AISAC control ID
aisacControlId | 3D Transceiver reference azimuth AISAC control ID |
|
inline |
Sets the 3D Transceiver output reference elevation AISAC control ID
aisacControlId | 3D Transceiver reference elevation AISAC control ID |
|
inline |
Sets the 3D region