# AnimationVector3D

# AnimationVector3D

Artifact:[androidx.compose.animation:animation-core](https://developer.android.com/jetpack/androidx/releases/compose-animation)  
[View Source](https://cs.android.com/search?q=file:androidx/compose/animation/core/AnimationVectors.kt+class:androidx.compose.animation.core.AnimationVector3D)  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-animation#1.0.0)
Common/All
  - Cmn  

  ```
  class AnimationVector3D : AnimationVector
```  

|---|---|-------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)                                                                          |||
| ↳ | [androidx.compose.animation.core.AnimationVector](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationVector)        ||
|   | ↳ | [androidx.compose.animation.core.AnimationVector3D](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationVector3D) |

*** ** * ** ***

This class defines a 3D vector that contains three Float value fields for the three dimensions.

## Summary

|                                                                                                                                                                                                                ### Public constructors                                                                                                                                                                                                                 |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|
| [AnimationVector3D](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationVector3D#AnimationVector3D(kotlin.Float,kotlin.Float,kotlin.Float))`(v1: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`, v2: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`, v3: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)` | Cmn |

|                                        ### Public functions                                         |
|-----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|
| `open operator `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [equals](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationVector3D#equals(kotlin.Any))`(other: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)` | Cmn |
| `open `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                  | [hashCode](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationVector3D#hashCode())`()`                                                                                            | Cmn |
| `open `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)            | [toString](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationVector3D#toString())`()`                                                                                            | Cmn |

|                              ### Public properties                              |
|---------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|
| [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) | [v1](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationVector3D#v1()) Float value field for the first dimension of the 3D vector.  | Cmn |
| [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) | [v2](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationVector3D#v2()) Float value field for the second dimension of the 3D vector. | Cmn |
| [Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) | [v3](https://developer.android.com/reference/kotlin/androidx/compose/animation/core/AnimationVector3D#v3()) Float value field for the third dimension of the 3D vector.  | Cmn |

## Public constructors

### AnimationVector3D

Cmn  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-animation#1.0.0)  

```
AnimationVector3D(v1: Float, v2: Float, v3: Float)
```  

|                                      Parameters                                       |
|---------------------------------------------------------------------------------------|----------------------------------------------|
| `v1: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) | initial value to set on the first dimension  |
| `v2: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) | initial value to set on the second dimension |
| `v3: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html) | initial value to set on the third dimension  |

## Public functions

### equals

Cmn  

```
open operator fun equals(other: Any?): Boolean
```  

### hashCode

Cmn  

```
open fun hashCode(): Int
```  

### toString

Cmn  

```
open fun toString(): String
```

## Public properties

### v1

Cmn  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-animation#1.0.0)  

```
val v1: Float
```

Float value field for the first dimension of the 3D vector.  

### v2

Cmn  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-animation#1.0.0)  

```
val v2: Float
```

Float value field for the second dimension of the 3D vector.  

### v3

Cmn  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-animation#1.0.0)  

```
val v3: Float
```

Float value field for the third dimension of the 3D vector.