Ovis_Entity_State_Get()
Abstract
Retrieves the Ovis entity state.
Syntax
Ovis_Entity_State_Get (ent_ptr)
| Argument | Type | Description |
|---|---|---|
ent_ptr |
OvisT_Entity * |
Entity |
Return Type
void *
State of the entity.
Header
ovis_entity.h
Details
This function retrieves the state of the Ovis entity.
Example
OvisT_Entity * entity;
void * state_ptr;
/* … entity created at some point */
state_ptr = Ovis_Entity_State_Get (entity);
Errors
- Entity is NIL.
Reference
- Use the function Ovis_Entity_State_Set() to specify the user state associated with an entity.