|
TransformationAnimation Class |
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.AnimationAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public class TransformationAnimation : SceneNodeTargetsAnimation
The TransformationAnimation type exposes the following members.
Properties | Name | Description |
---|
| ConvertOtherTransformationsToStandardTransform |
When this property is true (by default) and when IsUsingExistingStandardTransform is true,
then existing transformation (TranslateTransform, ScaleTransform and AxisAngleRotateTransform) are converted into StandardTransform.
|
| PivotPoint |
When PivotPoint is set, then rotations and scale are done by using that pivot point.
When PivotPoint is not null (by default), then rotation and scale are done by using the object's center position as a pivot point.
|
TopMethods | Name | Description |
---|
| AddKeyframe | |
| AddRotateKeyframe | |
| AddScaleKeyframe | |
| AddTargetsInfoText | (Overrides SceneNodeTargetsAnimationAddTargetsInfoText(StringBuilder)) |
| AddTranslateKeyframe | |
| GetAnimatedPropertyName | (Overrides AnimationTGetAnimatedPropertyName(Int32)) |
| GetStandardTransform |
GetStandardTransform method creates or gets the StandardTransform from the sceneNode.
The properties of the returned StandardTransform will be animated by this animation.
User can override this method to provide custom login on how to convert existing transformation to StandardTransform or how to create a new StandardTransform.
|
| OnInitialize | (Overrides AnimationTOnInitialize) |
| Set(TransformationAnimatedProperties, FuncSceneNode, Int32, Int32, Single, NullableSingle, NullableSingle, FuncSingle, Single) | |
| Set(TransformationAnimatedProperties, Single, NullableSingle, NullableSingle, FuncSingle, Single) | |
| SetEasingFunctionToAllKeyframes(FuncSingle, Single) | (Overrides AnimationTSetEasingFunctionToAllKeyframes(FuncSingle, Single)) |
| SetEasingFunctionToAllKeyframes(TransformationAnimatedProperties, FuncSingle, Single) |
Set the specified easing function to all key-frames belonging to the specified animated property type.
|
| SetInitialValue(TransformationAnimatedProperties, FuncSceneNode, Int32, Int32, Single) | |
| SetInitialValue(TransformationAnimatedProperties, Single) | |
| SetRotate | |
| SetScale | |
| SetTranslate | |
TopSee Also