OvisT_Anim_Transmitter_Destroy_Proc
Abstract
Callback: Invoked before the simulation kernel destroys a transmitter object.
Syntax
<anim_transmitter_destroy_proc_name> (tx_ptr, state_ptr)
| Argument | Type | Description |
|---|---|---|
tx_ptr |
OvisT_Transmitter * |
Pointer to the transmitter object about to be destroyed by the simulation kernel |
state_ptr |
void * |
Pointer to the user state returned by the OvisT_Anim_Transmitter_Init_Proc callback |
Return Type
void
No return value.
Header
ovis_transmission_anim.h
Details
This callback is invoked by the simulation kernel before a transmitter object gets destroyed (either implicitly because the associated Ovis Entity is being destroyed or explicitly because Ovis_Transmitter_Animation_Disable() has been invoked for that transmitter object.
This allows any associated user state to be destroyed appropriately.