Source set: Common
public class AnimationVector3D(v1: Float, v2: Float, v3: Float) : AnimationVector()
This class defines a 3D vector that contains three Float value fields for the three dimensions.
Parameters
| v1 | initial value to set on the first dimension |
| v2 | initial value to set on the second dimension |
| v3 | initial value to set on the third dimension |
Properties
v1
Source set: Common
public var v1: Float = v1
Float value field for the first dimension of the 3D vector.
v2
Source set: Common
public var v2: Float = v2
Float value field for the second dimension of the 3D vector.
v3
Source set: Common
public var v3: Float = v3
Float value field for the third dimension of the 3D vector.
size
Source set: Common
override val size: Int = 3
Functions
reset
Source set: Common
override fun reset()
newVector
Source set: Common
override fun newVector(): AnimationVector3D
get
Source set: Common
override fun get(index: Int): Float
set
Source set: Common
override fun set(index: Int, value: Float)
toString
Source set: Common
override fun toString(): String
equals
Source set: Common
override fun equals(other: Any?): Boolean
hashCode
Source set: Common
override fun hashCode(): Int