formZ SDK | 5.0 API Reference | Project | Modeling | Animation

# fz_anim_node_get_parent

Description

Returns the parent animation node, given an animation node in the animation hierarchy. If the resulting parent_node is NULL, this implies the given animation node is a child of the root. For an entity this also means that its parent coordinate is the world coordinate .

Plugin Prototype

fzrt_error_td fz_anim_node_get_parent(

fzrt_int | windex,
fz_anim_node_ptr | anim_node,
fz_anim_node_ptr * | parent_node )

Parameters

windex [Input]

project window index

anim_node [Input]

animation node child

parent_node [Result]

parent node

Returns

Error codes

Availability

6.1.0.0

Example Files

util_anim_animate_enty.fsl
util_anim_change_grup.fsl
util_anim_dfrm.fsl

Function Set

fz_anim_fset

Defined in

fz_anim_api.h