engiGetEntityParentEx

Returns the N-th parent of entity or NULL if index exceeds number of parents

Syntax

//
//   Strong typing definition
//
SdaiEntity      engiGetEntityParentEx(
                        SdaiEntity              entity,
                        SdaiInteger             index
                    );


//
//   Weak typing definition
//
int_t   __declspec(dllexport) __stdcall   engiGetEntityParentEx(
                                                                        int_t                   entity,
                                                                        int_t                   index
                                                                    );
    

Property entity

Size: 32 bit / 4 byte (value)
...

Property index

Size: 32 bit / 4 byte (value)
...