# Vector3KeyFrameAnimation

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/rendering/composition/animations/struct-vector3keyframeanimation/

**struct** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
struct Vector3KeyFrameAnimation
```

A key frame animation of `$crate :: numerics :: Vector3` values.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/key_frame_animation.rs#L344)

## Members

- [`new`](#function-new)
- [`insert_key_frame_with_easing`](#function-insert_key_frame_with_easing)
- [`insert_key_frame`](#function-insert_key_frame)

<a id="function-new"></a>

### new

```rust
fn new(compositor: &Rc<Compositor>) -> Rc<Vector3KeyFrameAnimation>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/key_frame_animation.rs#L344)

<a id="function-insert_key_frame_with_easing"></a>

### insert_key_frame_with_easing

```rust
fn insert_key_frame_with_easing(self: &Self, normalized_progress_key: f32, value: $crate::numerics::Vector3, easing_function: Rc<dyn IEasing>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/key_frame_animation.rs#L344)

<a id="function-insert_key_frame"></a>

### insert_key_frame

```rust
fn insert_key_frame(self: &Self, normalized_progress_key: f32, value: $crate::numerics::Vector3)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/animations/key_frame_animation.rs#L344)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- `ErasedDestructor`
- `IntoEither`
- `Deref`
- `ICompositionAnimationBase`
- `ICompositionAnimation`
- [`AsCompositionObject`](/docs/0.5.0/api/ferroui-base/rendering/composition/trait-ascompositionobject/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
