b3dGetParent

Returns entity's parent handle (0 if no parent). Takes entity (child entity handle). Returns parent handle as Int (entity handle of parent, 0 if no parent or invalid entity).

3D Graphics

Parameters & Returns

Parameters

entity Int

Returns

Int

Quick Summary

Returns entity's parent handle (0 if no parent). Takes entity (child entity handle). Returns parent handle as Int (entity handle of parent, 0 if no parent or invalid entity).

Technical Exegesis...

Returns entity's parent handle (0 if no parent). Takes entity (child entity handle). Returns parent handle as Int (entity handle of parent, 0 if no parent or invalid entity). Validates entity exists and has parent (it->second.parent!=nullptr), returns parent->handle (parent entity's handle), returns 0 if entity doesn't exist or has no parent. Query function for hierarchy relationships.

This function queries parent relationship.

Example

Example.bam
; No example implemented yet