TOKSENSOR_GetDetectMaterial(Sensor%) |
Parameters: Sensor% = The sensor's handle |
Return value: The material ID the sensor penetrated |
Description: Retrieves the material ID the sensor penetrated. NOTE: This value is only available if TOKSENSOR_GetDetectDepth() is greater than 0. |