| Name | Summary |
|---|---|
WatchedVector4 | constructor(attribute: Vector4Attribute, value: Vector4) |
| Name | Summary |
|---|---|
w | open override var w: Float |
x | open override var x: Float |
y | open override var y: Float |
z | open override var z: Float |
| Name | Summary |
|---|---|
add | |
component1 | operator fun component1(): Float |
component2 | operator fun component2(): Float |
component3 | operator fun component3(): Float |
component4 | operator fun component4(): Float |
copy | fun copy(): Vector4 Returns a copy of this vector. |
distanceTo | fun distanceTo(v: Vector4): Float Calculates the distance between two vectors. |
div | operator fun div(v: Float): Vector4 Overloads the div operator to perform scalar division. |
divide | fun divide(v: Float): Vector4 Performs scalar division. |
dot | fun dot(v: Vector4): 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 of the vector. |
lerp | |
minus | |
multiply | |
negate | fun negate(): Vector4 Negates the vector. |
normalize | fun normalize(): Vector4 Normalizes the vector. |
plus | |
setW | fun setW(w: Float): Vector4 |
setX | fun setX(x: Float): Vector4 |
setY | fun setY(y: Float): Vector4 |
setZ | fun setZ(z: Float): Vector4 |
sub | |
times | |
toString | open override fun toString(): String |
unaryMinus | operator fun unaryMinus(): Vector4 Overloads the unary minus operator to negate the vector. |