All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ch.viseon.threejs.declarations.loaders.LoaderUtils.kt Maven / Gradle / Ivy

Go to download

Kotlin wrapper for ThreeJs, javascript library for 3d rendering

There is a newer version: 126.0.0
Show newest version
@file:JsModule("three")
package ch.viseon.threejs.declarations.loaders

	/**
	* An object with several loader utility functions.
	*/
open external class LoaderUtils{

	/**
	* [page:TypedArray array] — A stream of bytes as a typed array.
The function takes a stream of bytes as input and returns a string representation.
	*/
	open fun decodeText(array: Array = definedExternally) : String


	/**
	* [page:String url] — The url to extract the base url from.
Extract the base from the URL.
	*/
	open fun extractUrlBase(url: String = definedExternally) : String
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy