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

ch.viseon.threejs.declarations.core.DirectGeometry.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.core

	/**
	* This class is used internally to convert from [page:Geometry] to [page:BufferGeometry].
	*/
open external class DirectGeometry{

	/**
	* Unique number for this [name] instance.
	*/
	open var id: Int  = definedExternally


	/**
	* Optional name. Default is the empty string.
	*/
	open var name: String  = definedExternally


	/**
	* String 'DirectGeometry'.
	*/
	open var type: Array  = definedExternally


	/**
	* Initialiased as an empty array, this is populated by [page:.fromGeometry]().
	*/
	open var vertices: Array  = definedExternally


	/**
	* Initialiased as an empty array, this is populated by [page:.fromGeometry]().
	*/
	open var normals: Array  = definedExternally


	/**
	* Initialiased as an empty array, this is populated by [page:.fromGeometry]().
	*/
	open var colors: Array  = definedExternally


	/**
	* Initialiased as an empty array, this is populated by [page:.fromGeometry]().
	*/
	open var uvs: Array  = definedExternally


	/**
	* Initialiased as an empty array, this is populated by [page:.fromGeometry]().
	*/
	open var uvs2: Array  = definedExternally


	/**
	* Initialiased as an empty array, this is populated by [page:.fromGeometry]().
	*/
	open var groups: Array  = definedExternally


	/**
	* Initialiased as an empty array, this is populated by [page:.fromGeometry]().
	*/
	open var morphTargets: Array  = definedExternally


	/**
	* Initialiased as an empty array, this is populated by [page:.fromGeometry]().
	*/
	open var skinWeights: Array  = definedExternally


	/**
	* Initialiased as an empty array, this is populated by [page:.fromGeometry]().
	*/
	open var skinIndices: Array  = definedExternally


	/**
	* Bounding box for the bufferGeometry, which can be calculated with [page:.computeBoundingBox](). Default is **null**.
	*/
	open var boundingBox: ch.viseon.threejs.declarations.math.Box3  = definedExternally


	/**
	* Bounding sphere for the bufferGeometry, which can be calculated with [page:.computeBoundingSphere](). Default is **null**.
	*/
	open var boundingSphere: ch.viseon.threejs.declarations.math.Sphere  = definedExternally


	/**
	* Default is false.
	*/
	open var verticesNeedUpdate: Boolean  = definedExternally


	/**
	* Default is false.
	*/
	open var normalsNeedUpdate: Boolean  = definedExternally


	/**
	* Default is false.
	*/
	open var colorsNeedUpdate: Boolean  = definedExternally


	/**
	* Default is false.
	*/
	open var uvsNeedUpdate: Boolean  = definedExternally


	/**
	* Default is false.
	*/
	open var groupsNeedUpdate: Boolean  = definedExternally


	/**
	* Compute the parts of the geometry that have different materialIndex. See [page:BufferGeometry.groups].
	*/
	open var computeGroups: dynamic  = definedExternally


	/**
	* Pass in a [page:Geometry] instance for conversion.
	*/
	open var fromGeometry: dynamic  = definedExternally
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy