 |
CameraAnimation Class |
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.AnimationAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic class CameraAnimation : Animation<ICamera>
The CameraAnimation type exposes the following members.
Properties| | Name | Description |
|---|
 | TargetCamera | |
 | UseShortestPath |
When UseShortestPath is true (by default) the camera will be animated to use the shortest part to the target heading and attitude.
When false the animation will change heading and attitude from the current to the new values without normalizing or otherwise optimizing the angles.
|
Top
Methods| | Name | Description |
|---|
 | AddKeyframe(CameraAnimatedProperties, Single, Vector3, FuncSingle, Single) | |
 | AddKeyframe(CameraAnimatedProperties, Single, Single, FuncSingle, Single) | |
 | AddTargetsInfoText | (Overrides AnimationTAddTargetsInfoText(StringBuilder)) |
 | GetAnimatedPropertyName | (Overrides AnimationTGetAnimatedPropertyName(Int32)) |
 | OnInitialize | (Overrides AnimationTOnInitialize) |
 | RegisterAnimation |
Registers this animation on Scene or SceneView object so that Update method is automatically called.
This method is called from Start method.
(Overrides AnimationTRegisterAnimation) |
 | Set(CameraAnimatedProperties, Vector3, NullableSingle, NullableSingle, FuncSingle, Single) | |
 | Set(CameraAnimatedProperties, Single, NullableSingle, NullableSingle, FuncSingle, Single) | |
 | SetEasingFunctionToAllKeyframes(FuncSingle, Single) | (Overrides AnimationTSetEasingFunctionToAllKeyframes(FuncSingle, Single)) |
 | SetEasingFunctionToAllKeyframes(CameraAnimatedProperties, FuncSingle, Single) |
Set the specified easing function to all key-frames belonging to the specified animated property type.
|
 | SetInitialValue(CameraAnimatedProperties, Vector3) | |
 | SetInitialValue(CameraAnimatedProperties, Single) | |
 | UnRegisterAnimation |
Removes this animation from Scene or SceneView object and prevents calling Update method automatically.
This method is called from Stop method.
(Overrides AnimationTUnRegisterAnimation) |
Top
See Also