Float32Array

open external class Float32Array : ArrayBufferView(source)

Exposes the JavaScript Float32Array to Kotlin

Since Kotlin

1.1

Constructors

Link copied to clipboard
constructor(length: Int)
constructor(array: Float32Array)
constructor(array: Array<Float>)
constructor(buffer: ArrayBuffer, byteOffset: Int = definedExternally, length: Int = definedExternally)

Types

Link copied to clipboard
object Companion
Since Kotlin 1.1

Properties

Link copied to clipboard
open override val buffer: ArrayBuffer
Since Kotlin 1.1
Link copied to clipboard
open override val byteLength: Int
Since Kotlin 1.1
Link copied to clipboard
open override val byteOffset: Int
Since Kotlin 1.1
Link copied to clipboard
open val length: Int
Since Kotlin 1.1

Functions

Link copied to clipboard
inline operator fun Float32Array.get(index: Int): Float
Since Kotlin 1.1
Link copied to clipboard
fun set(array: Array<Float>, offset: Int = definedExternally)
fun set(array: Float32Array, offset: Int = definedExternally)
Since Kotlin 1.1
Link copied to clipboard
inline operator fun Float32Array.set(index: Int, value: Float)
Since Kotlin 1.1
Link copied to clipboard
fun subarray(start: Int, end: Int): Float32Array
Since Kotlin 1.1