Skeleton QML Type

Defines a skeletal animation hierarchy. 更多...

导入语句: import QtQuick3D
继承:

Node

详细描述

A skeleton defines how a model can be animated using skeletal animation . It contains a hierarchy of Joint nodes. Each joint can be transformed for a skinning animation.

Skeleton {
    id: qmlskeleton
    Joint {
        id: joint0
        index: 0
        skeletonRoot: qmlskeleton
        Joint {
            id: joint1
            index: 1
            skeletonRoot: qmlskeleton
        }
    }
}
					

另请参阅 Joint::skeletonRoot , Model::skeleton ,和 Qt Quick 3D - Simple Skinning Example#skeleton-and-joint-hierarchy .