main.cesium.PlaneOutlineGeometry.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
package cesium
/**
* Describes geometry representing the outline of a plane centered at the origin, with a unit width and length.
* @see Online Documentation
*/
@JsName("\$cesium__PlaneOutlineGeometry")
external class PlaneOutlineGeometry {
companion object {
/**
* The number of elements used to pack the object into an array.
* @see Online Documentation
*/
val packedLength: Int
/**
* Stores the provided instance into the provided array.
* @param [value] The value to pack.
* @param [array] The array to pack into.
* @return The array that was packed into
* @see Online Documentation
*/
fun pack(
value: PlaneOutlineGeometry,
array: Array,
): Array
/**
* Retrieves an instance from a packed array.
* @param [array] The packed array.
* @param [startingIndex] The starting index of the element to be unpacked.
* Default value - `0`
* @param [result] The object into which to store the result.
* @return The modified result parameter or a new PlaneOutlineGeometry instance if one was not provided.
* @see Online Documentation
*/
fun unpack(
array: Array,
startingIndex: Int? = definedExternally,
result: PlaneOutlineGeometry? = definedExternally,
): PlaneOutlineGeometry
/**
* Computes the geometric representation of an outline of a plane, including its vertices, indices, and a bounding sphere.
* @return The computed vertices and indices.
* @see Online Documentation
*/
fun createGeometry(): Geometry?
}
}