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

ch.viseon.threejs.declarations.helpers.PlaneHelper.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.helpers

	/**
	* Helper object to visualize a [page:Plane].
	*/
open external class PlaneHelper(plane: ch.viseon.threejs.declarations.math.Plane = definedExternally, size: Double = definedExternally, hex: ch.viseon.threejs.declarations.math.Color = definedExternally): ch.viseon.threejs.declarations.objects.LineSegments{

	/**
	* The [page:Plane plane] being visualized.
	*/
	open var plane: ch.viseon.threejs.declarations.math.Plane  = definedExternally


	/**
	* The side lengths of plane helper.
	*/
	open var size: Double  = definedExternally


	/**
	* This overrides the method in the base [page:Object3D] class so that it also updates the helper object according to the [page:PlaneHelper.plane .plane] and [page:PlaneHelper.size .size] properties.
	*/
	override fun updateMatrixWorld(force: Boolean) : Unit
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy