| Name | Summary |
|---|---|
WatchedVector3 | constructor(attribute: Vector3Attribute, value: Vector3) |
| Name | Summary |
|---|---|
x | open override var x: Float |
y | open override var y: Float |
z | open override var z: Float |
| Name | Summary |
|---|---|
add | |
angleBetweenDegrees | fun angleBetweenDegrees(v: Vector3): Float Calculates the angle between two vectors in degrees. |
component1 | operator fun component1(): Float |
component2 | operator fun component2(): Float |
component3 | operator fun component3(): Float |
copy | fun copy(): Vector3 Returns a copy of this vector. |
cross | |
distanceTo | fun distanceTo(v: Vector3): Float Calculates the distance between two vectors. |
div | inline operator fun div(v: Float): Vector3 Divides a vector by a scalar. |
divide | inline fun divide(v: Float): Vector3 Divides a vector by a scalar. |
dot | inline fun dot(v: Vector3): Float Calculates the dot product of two vectors. |
equals | open operator override fun equals(other: Any?): Boolean |
hashCode | open override fun hashCode(): Int |
length | fun length(): Float Calculates the length (magnitude) of a vector. |
lerp | |
max | |
min | |
minus | |
multiply | |
negate | inline fun negate(): Vector3 Negates a vector. |
normalize | fun normalize(): Vector3 Normalizes a vector to have a length of 1 |
plus | |
setX | fun setX(x: Float): Vector3 |
setY | fun setY(y: Float): Vector3 |
setZ | fun setZ(z: Float): Vector3 |
sub | |
times | |
toString | open override fun toString(): String Returns a string representation of the vector. |
unaryMinus | inline operator fun unaryMinus(): Vector3 Negates a vector. |