MVector4

class MVector4

Deprecated

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var w: Float
Link copied to clipboard
var x: Float
Link copied to clipboard
var y: Float
Link copied to clipboard
var z: Float

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun dot(v2: MVector4): Float
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
operator fun get(index: Int): Float
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
operator fun minus(that: MVector4): MVector4
Link copied to clipboard
fun normalize(vector: MVector4 = this): MVector4
Link copied to clipboard
fun normalized(out: MVector4 = MVector4()): MVector4
Link copied to clipboard
operator fun plus(that: MVector4): MVector4
Link copied to clipboard
fun scale(scale: Double): MVector4
fun scale(scale: Float): MVector4
fun scale(scale: Int): MVector4
Link copied to clipboard
operator fun set(index: Int, value: Float)
Link copied to clipboard
fun setTo(x: Double, y: Double, z: Double): MVector4
fun setTo(x: Float, y: Float, z: Float): MVector4
fun setTo(x: Int, y: Int, z: Int): MVector4
fun setTo(x: Double, y: Double, z: Double, w: Double): MVector4
fun setTo(x: Float, y: Float, z: Float, w: Float): MVector4
fun setTo(x: Int, y: Int, z: Int, w: Int): MVector4
Link copied to clipboard
inline fun setToFunc(func: (index: Int) -> Float): MVector4
inline fun setToFunc(l: MVector4, r: MVector4, func: (l: Float, r: Float) -> Float): MVector4
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun times(scale: Float): MVector4
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard