{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

AnimationVector3D

public final class AnimationVector3D extends AnimationVector

java.lang.Object
   ↳ 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

AnimationVector3D(float v1, float v2, float v3)

Public methods

boolean
equals(Object other)
final float

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

final float

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

final float

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

int
@NonNull String

Public constructors

AnimationVector3D

public AnimationVector3D(float v1, float v2, float v3)
Parameters
float v1

initial value to set on the first dimension

float v2

initial value to set on the second dimension

float v3

initial value to set on the third dimension

Public methods

equals

public boolean equals(Object other)

getV1

public final float getV1()

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

getV2

public final float getV2()

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

getV3

public final float getV3()

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

hashCode

public int hashCode()

toString

public @NonNull String toString()