MLAudioRaycastResult
Module: Audio / Audio Definitions / Acoustics / Spatial Sound
ID-tracked result for a single raycast operation. More...
#include <ml_audio.h>
Public Attributes
| Type | Name |
|---|---|
| MLHandle | source_id |
| MLHandle | image_id |
| uint32_t | leg_index |
| MLAudioRaycast | ray |
| MLAudioObstruction | obstruction |
Detailed Description
struct MLAudioRaycastResult;
ID-tracked result for a single raycast operation.
API Level:
- 20
Public Attributes Documentation
source_id
MLHandle source_id;
| Type | Description |
|---|---|
| MLHandle | Integer handle type used to reference many things returned by the API, instead of returning pointers directly. Use MLHandleIsValid() to check if a handle is valid or not. |
Internal identifier.
image_id
MLHandle image_id;
| Type | Description |
|---|---|
| MLHandle | Integer handle type used to reference many things returned by the API, instead of returning pointers directly. Use MLHandleIsValid() to check if a handle is valid or not. |
Internal identifier.
leg_index
uint32_t leg_index;
Internal identifier.
ray
MLAudioRaycast ray;
| Type | Description |
|---|---|
| MLAudioRaycast | Two points in space describing a ray. |
Raycast tested for obstruction.
obstruction
MLAudioObstruction obstruction;
| Type | Description |
|---|---|
| MLAudioObstruction | Obstruction along a ray. |
Result of obstruction test.