Vector3DAnimationBase.GetCurrentValueCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calculates a value that represents the current value of the property being animated, as determined by the host animation.
protected:
abstract System::Windows::Media::Media3D::Vector3D GetCurrentValueCore(System::Windows::Media::Media3D::Vector3D defaultOriginValue, System::Windows::Media::Media3D::Vector3D defaultDestinationValue, System::Windows::Media::Animation::AnimationClock ^ animationClock);
protected abstract System.Windows.Media.Media3D.Vector3D GetCurrentValueCore (System.Windows.Media.Media3D.Vector3D defaultOriginValue, System.Windows.Media.Media3D.Vector3D defaultDestinationValue, System.Windows.Media.Animation.AnimationClock animationClock);
abstract member GetCurrentValueCore : System.Windows.Media.Media3D.Vector3D * System.Windows.Media.Media3D.Vector3D * System.Windows.Media.Animation.AnimationClock -> System.Windows.Media.Media3D.Vector3D
Protected MustOverride Function GetCurrentValueCore (defaultOriginValue As Vector3D, defaultDestinationValue As Vector3D, animationClock As AnimationClock) As Vector3D
Parameters
- defaultOriginValue
- Vector3D
The suggested origin value, used if the animation does not have its own explicitly set start value.
- defaultDestinationValue
- Vector3D
The suggested destination value, used if the animation does not have its own explicitly set end value.
- animationClock
- AnimationClock
An AnimationClock that generates the CurrentTime or CurrentProgress used by the host animation.
Returns
The current value of this animation.
Remarks
The value of the defaultOriginValue
parameter depends on the animation's position in the composition chain:
If the animation is in the first position in a composition chain and it replaces another animation,
defaultOriginValue
is the output of that animation at the time it was replaced.If the animation is in the first position in a composition chain and no animation exists to replace,
defaultOriginValue
is the base value of the animated property.If this animation is not in the first position of a composition chain, then
defaultOriginValue
is the value that is returned by the previous animation in the composition chain that has an AnimationClock that is not Stopped.
The value of the defaultDestinationValue
parameter depends on whether there is a previous property Trigger composition layer.
If there is a previous property Trigger composition layer,
defaultDestinationValue
is the output from that layer.If there is no previous composition layer,
defaultDestinationValue
is the base value of the property that you are animating.
For more information about animation composition, see the Animation and Timing System Overview. For more information about creating custom animation types, see the Custom Animations Overview.
Applies to
משוב
https://aka.ms/ContentUserFeedback.
בקרוב: במהלך 2024, נפתור בעיות GitHub כמנגנון המשוב לתוכן ונחליף אותו במערכת משוב חדשה. לקבלת מידע נוסף, ראה:שלח והצג משוב עבור