Float32Array constructor

init

Initializes a new instance of the Float32Array class.

def __init__(self, length):
    ...
ParameterTypeDescription
lengthintThe length (number of elements).

init

Initializes a new instance of the Float32Array class.

def __init__(self, data):
    ...
ParameterTypeDescription
datalistThe array data.

init

Initializes a new instance of the Float32Array class.

def __init__(self, buffer):
    ...
ParameterTypeDescription
bufferArrayBufferThe data buffer.

init

Initializes a new instance of the Float32Array class.

def __init__(self, buffer, byte_offset):
    ...
ParameterTypeDescription
bufferArrayBufferThe data buffer.
byte_offsetintThe byte offset.

init

Initializes a new instance of the Float32Array class.

def __init__(self, buffer, byte_offset, length):
    ...
ParameterTypeDescription
bufferArrayBufferThe data buffer.
byte_offsetintThe byte offset.
lengthintThe length.

See Also