Ovis_Entity_DIS_Dead_Reckoning_Set()
Abstract
Specifies the Ovis entity DIS dead reckoning.
Syntax
Ovis_Entity_DIS_Dead_Reckoning_Set (OvisT_Entity * ent_ptr, OvisT_DIS_Dead_Reckoning dr)
| Argument | Type | Description |
|---|---|---|
ent_ptr |
OvisT_Entity * |
Entity |
dr |
OvisT_DIS_Dead_Reckoning |
DIS dead reckoning |
Return Type
OvisT_Compcode
OvisC_Compcode_Success if the entity is valid; otherwise, OvisC_Compcode_Failure.
Header
ovis_entity.h
Details
This function specifies the Ovis entity DIS dead reckoning.
Note: This operation will fail with entities created from discovered RTI objects.
Example
OvisT_Entity * ent_ptr;
/* Entity was created at some point */
Ovis_Entity_DIS_Dead_Reckoning_Set (ent_ptr, OvisC_DIS_DR_Static);
Errors
- Entity is NIL.
Reference
- Use the function Ovis_Entity_Animation_Get() to obtain the type information.