NodeAnimationKeyFrameRotation()

Syntax

NodeAnimationKeyFrameRotation(#NodeAnimation, KeyFrame, x, y, z [, w, Modus])
Beschreibung
Ändert die Keyframe-Rotation für die #NodeAnimation.

Parameter

#NodeAnimation Die zu verwendende Node-Animation.
#Keyframe Der Node-Animation Keyframe-Index. Der erste Keyframe-Index ist null. Wenn das Keyframe nicht existiert, dann hat diese Funktion keinen Effekt.
x, y, z Die neue Keyframe 'x, y, z'-Rotation in der Welt. Die Werte sind vom ausgewählten 'Modus' abhängig.
w (optional) Die neue Keyframe 'w'-Rotation in der Welt (wird nur bei #PB_Orientation_Quaternion und #PB_Orientation_Direction verwendet).
Modus (optional) Der Rotations-Modus. Dies kann einer der folgenden Werte sein:
  - #PB_Orientation_PitchYawRoll: 'x' ("pitch" oder auch "Nick"), 'y' ("yaw" oder auch "Gier"), 'z' ("roll" oder auch "Roll"),
                                  zugewiesen in dieser Reihenfolge (Standard).
  - #PB_Orientation_Quaternion  : 'x', 'y', 'z', 'w' für Quaternion-Werte
  - #PB_Orientation_Direction   : 'x', 'y', 'z' für den Richtungsvektor und 'w' für die Rotation (Roll).

Rückgabewert

Diese Funktion gibt keinen Wert zurück.

Anmerkungen

Siehe auch den Wikipedia-Artikel zum Roll-Nick-Gier-Winkel.

Siehe auch

CreateNodeAnimationKeyFrame(), NodeAnimationKeyFramePitch(), NodeAnimationKeyFrameYaw(), NodeAnimationKeyFrameRoll()

Unterstützte OS

Alle

<- NodeAnimationKeyFrameRoll() - NodeAnimation Inhaltsverzeichnis - NodeAnimationKeyFrameScale() ->