Google is committed to advancing racial equity for Black communities. See how.

AnimationVector3D

class AnimationVector3D : AnimationVector
kotlin.Any
   ↳ androidx.compose.animation.core.AnimationVector
   ↳ androidx.compose.animation.core.AnimationVector3D

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

Summary

Public constructors
<init>(v1: Float, v2: Float, v3: Float)

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

Public methods
Boolean
equals(other: Any?)

Int

String

Properties
Float

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

Float

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

Float

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

Public constructors

<init>

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

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

Parameters
v1: Float initial value to set on the first dimension
v2: Float initial value to set on the second dimension
v3: Float initial value to set on the third dimension

Public methods

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String

Properties

v1

var v1: Float

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

v2

var v2: Float

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

v3

var v3: Float

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