Gems/EMotionFX/Code/EMotionFX/CommandSystem/Source/ActorCommands.cpp
void CommandAdjustActor::SetIsAttachmentNode(EMotionFX::Actor* actor, bool isAttachmentNode)
    {
        const size_t numNodes = actor->GetNumNodes();
        for (size_t i = 0; i < numNodes; ++i)
        {
            EMotionFX::Node* node = actor->GetSkeleton()->GetNode(i);
            if (!node)
            {
                continue;
            }

            node->SetIsAttachmentNode(isAttachmentNode);
        }
    }
// Static function to set all IsAttachmentNode flags of the actor to the given value.
Static function to set all IsAttachmentNode flags of the actor to the given value.
Static function to set all IsAttachmentNode flags of the actor to the given value .
void CommandAdjustActor::SetIsAttachmentNode(EMotionFX::Actor* actor, bool isAttachmentNode)
    {
        const size_t numNodes = actor->GetNumNodes();
        for (size_t i = 0; i < numNodes; ++i)
        {
            EMotionFX::Node* node = actor->GetSkeleton()->GetNode(i);
            if (!node)
            {
                continue;
            }
            node->SetIsAttachmentNode(isAttachmentNode);
        }
    }
void CommandAdjustActor :: SetIsAttachmentNode ( EMotionFX :: Actor * actor , bool isAttachmentNode ) { const size_t numNodes = actor -> GetNumNodes ( ) ; for ( size_t i = 0 ; i < numNodes ; ++ i ) { EMotionFX :: Node * node = actor -> GetSkeleton ( ) -> GetNode ( i ) ; if ( ! node ) { continue ; } node -> SetIsAttachmentNode ( isAttachmentNode ) ; } }
Static function to set all IsAttachmentNode flags of the actor to the given value.
Static function to set all IsAttachmentNode flags of the actor to the given value .