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

ch.viseon.threejs.declarations.core.InterleavedBufferAttribute.kt Maven / Gradle / Ivy

Go to download

Kotlin binding for ThreeJs, javascript library for 3d rendering

There is a newer version: 104.0.0
Show newest version
//Generated date 23.11.2018
@file:JsModule("three")
package ch.viseon.threejs.declarations.core

	/**
	* 
	*/
open external class InterleavedBufferAttribute(interleavedBuffer: ch.viseon.threejs.declarations.core.InterleavedBuffer = definedExternally, itemSize: Int = definedExternally, offset: Int = definedExternally, normalized: Boolean = definedExternally){

	/**
	* The [page:InterleavedBuffer InterleavedBuffer] instance passed in the constructor.
	*/
	open var data: ch.viseon.threejs.declarations.core.InterleavedBuffer  = definedExternally


	/**
	* The value of [page:InterleavedBufferAttribute.data data].array.
	*/
	open var array: Array/*TypedArray*/  = definedExternally


	/**
	* The value of [page:InterleavedBufferAttribute.data data].count. If the buffer is storing a 3-component item (such as a position, normal, or color), then this will count the number of such items stored.
	*/
	open var count: Int  = definedExternally


	/**
	* How many values make up each item.
	*/
	open var itemSize: Int  = definedExternally


	/**
	* The offset in the underlying array buffer where an item starts.
	*/
	open var offset: Int  = definedExternally


	/**
	* Default is **true**.
	*/
	open var normalized: Boolean  = definedExternally


	/**
	* Default is **true**.
	*/
	open var isInterleavedBufferAttribute: Boolean  = definedExternally


	/**
	* Returns the x component of the item at the given index.
	*/
	open fun getX(index: Int = definedExternally) : Double


	/**
	* Returns the y component of the item at the given index.
	*/
	open fun getY(index: Int = definedExternally) : Double


	/**
	* Returns the z component of the item at the given index.
	*/
	open fun getZ(index: Int = definedExternally) : Double


	/**
	* Returns the w component of the item at the given index.
	*/
	open fun getW(index: Int = definedExternally) : Double


	/**
	* Sets the x component of the item at the given index.
	*/
	open fun setX(index: Int = definedExternally, x: Double = definedExternally) : dynamic/*null*/


	/**
	* Sets the y component of the item at the given index.
	*/
	open fun setY(index: Int = definedExternally, y: Double = definedExternally) : dynamic/*null*/


	/**
	* Sets the z component of the item at the given index.
	*/
	open fun setZ(index: Int = definedExternally, z: Double = definedExternally) : dynamic/*null*/


	/**
	* Sets the w component of the item at the given index.
	*/
	open fun setW(index: Int = definedExternally, w: Double = definedExternally) : dynamic/*null*/


	/**
	* Sets the x and y components of the item at the given index.
	*/
	open fun setXY(index: Int = definedExternally, x: Double = definedExternally, y: Double = definedExternally) : dynamic/*null*/


	/**
	* Sets the x, y and z components of the item at the given index.
	*/
	open fun setXYZ(index: Int = definedExternally, x: Double = definedExternally, y: Double = definedExternally, z: Double = definedExternally) : dynamic/*null*/


	/**
	* Sets the x, y, z and w components of the item at the given index.
	*/
	open fun setXYZW(index: Int = definedExternally, x: Double = definedExternally, y: Double = definedExternally, z: Double = definedExternally, w: Double = definedExternally) : dynamic/*null*/
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy