IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Joint QML Type

Defines a node in a skeletal animation hierarchy.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Joint QML Type

  • Import Statement: import QtQuick3D

  • Inherits:: Node

Detailed Description

A joint is a transformable node inside a Skeleton, used for skeletal animation. It is called a "joint" because it can be seen as a joint between the bones of a skeleton.

All the joints must be contained inside a Skeleton, and each joint must have a skeletonRoot pointing back to that skeleton.

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

Property Documentation

 

index : int

Specifies the index of this joint. This index value is used in the JointSemantic custom geometry attribute.

Index values must be unique within the same Skeleton.

Negative values cannot be assigned.

See Also

skeletonRoot : Skeleton

Specifies the Skeleton that contains this joint.

All the Joints in the Skeleton must have the same skeletonRoot. If not, the animation will be broken.

See Also

See also Skeleton

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+