#include <sio2_sensor.h>

Public Attributes | |
| char | name [SIO2_MAX_CHAR] |
| The name of the SIO2sensor. | |
| SIO2object * | _SIO2object0 |
| A collision object. | |
| SIO2object * | _SIO2object1 |
| Another collision object used by the different SIO2sensor. | |
| vec3 | hit_point |
| The world hit point XYZ position. | |
| vec3 | from |
| The start position of the ray. | |
| vec3 | to |
| The final position of the ray. | |
| float | dist |
| The current distance between 2 SIO2objects. | |
| float | threshold |
| The treshold used to call the distance sensor callback function. | |
| SIO2sensordistance * | _SIO2sensordistance |
| A SIO2sensordistance function callback handle. | |
| SIO2sensorray * | _SIO2sensorray |
| A SIO2sensorray function callback handle. | |
| SIO2sensorcontact * | _SIO2sensorcontact |
| A SIO2sensorcontact function callback handle. | |
| SIO2sensorcollision * | _SIO2sensorcollision |
| A SIO2sensorcollision function callback handle. | |
| SIO2physic * | _SIO2physic |
| The physic world used to cast a collision ray. | |
| void * | userdata |
| User specific data. | |
| char SIO2sensor::name[SIO2_MAX_CHAR] |
The name of the SIO2sensor.
Referenced by sio2ResourceGet(), sio2SensorInitCollision(), sio2SensorInitContact(), sio2SensorInitDistance(), and sio2SensorInitRay().
A collision object.
Referenced by sio2PhysicContactCallback(), sio2SensorEvaluate(), sio2SensorFree(), sio2SensorInitCollision(), sio2SensorInitContact(), and sio2SensorInitDistance().
Another collision object used by the different SIO2sensor.
Referenced by sio2PhysicContactCallback(), sio2SensorEvaluate(), sio2SensorFree(), sio2SensorInitCollision(), sio2SensorInitContact(), and sio2SensorInitDistance().
| float SIO2sensor::dist |
| float SIO2sensor::threshold |
The treshold used to call the distance sensor callback function.
Referenced by sio2SensorEvaluate(), and sio2SensorInitDistance().
| SIO2sensordistance* SIO2sensor::_SIO2sensordistance |
A SIO2sensordistance function callback handle.
Referenced by sio2SensorEvaluate(), and sio2SensorInitDistance().
| SIO2sensorray* SIO2sensor::_SIO2sensorray |
A SIO2sensorray function callback handle.
Referenced by sio2SensorEvaluate(), and sio2SensorInitRay().
| SIO2sensorcontact* SIO2sensor::_SIO2sensorcontact |
A SIO2sensorcontact function callback handle.
Referenced by sio2PhysicContactCallback(), and sio2SensorInitContact().
| SIO2sensorcollision* SIO2sensor::_SIO2sensorcollision |
A SIO2sensorcollision function callback handle.
Referenced by sio2SensorEvaluate(), and sio2SensorInitCollision().
The physic world used to cast a collision ray.
Referenced by sio2SensorEvaluate(), and sio2SensorInitRay().
| void* SIO2sensor::userdata |
User specific data.
1.5.6