@JsType(isNative=true,
namespace="Cesium",
name="FrustumGeometry")
public class FrustumGeometry
extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
packedLength
The number of elements used to pack the object into an array.
|
| Constructor and Description |
|---|
FrustumGeometry(FrustumGeometryOptions options) |
| Modifier and Type | Method and Description |
|---|---|
static Geometry |
createGeometry(FrustumGeometry frustumGeometry)
Computes the geometric representation of a frustum, including its vertices, indices, and a bounding sphere.
|
static double[] |
pack(FrustumGeometry value,
double[] array)
Stores the provided instance into the provided array.
|
static double[] |
pack(FrustumGeometry value,
double[] array,
int startingIndex)
Stores the provided instance into the provided array.
|
static FrustumGeometry |
unpack(double[] array)
Retrieves an instance from a packed array.
|
static FrustumGeometry |
unpack(double[] array,
int startingIndex)
Retrieves an instance from a packed array.
|
static FrustumGeometry |
unpack(double[] array,
int startingIndex,
FrustumGeometry result)
Retrieves an instance from a packed array.
|
@JsProperty public int packedLength
@JsConstructor public FrustumGeometry(FrustumGeometryOptions options)
@JsMethod public static Geometry createGeometry(FrustumGeometry frustumGeometry)
frustumGeometry - A description of the frustum.@JsMethod public static double[] pack(FrustumGeometry value, double[] array)
value - The value to pack.array - The array to pack into.@JsMethod public static double[] pack(FrustumGeometry value, double[] array, int startingIndex)
value - The value to pack.array - The array to pack into.startingIndex - The index into the array at which to start packing the elements.@JsMethod public static FrustumGeometry unpack(double[] array)
array - The packed array.@JsMethod public static FrustumGeometry unpack(double[] array, int startingIndex)
array - The packed array.startingIndex - The starting index of the element to be unpacked.@JsMethod public static FrustumGeometry unpack(double[] array, int startingIndex, FrustumGeometry result)
array - The packed array.startingIndex - The starting index of the element to be unpacked.result - The object into which to store the result.Copyright © 2019. All rights reserved.