PlaneOutlineGeometry

new Cesium.PlaneOutlineGeometry()

Describes geometry representing the outline of a plane centered at the origin, with a unit width and length.

成员(属性)

static Cesium.PlaneOutlineGeometry.packedLength : number

The number of elements used to pack the object into an array.

方法

static Cesium.PlaneOutlineGeometry.createGeometry()Geometry|undefined

Computes the geometric representation of an outline of a plane, including its vertices, indices, and a bounding sphere.
返回值:
The computed vertices and indices.

static Cesium.PlaneOutlineGeometry.pack(value, array)Array.<number>

Stores the provided instance into the provided array.
参数名称 类型 描述信息
value PlaneOutlineGeometry The value to pack.
array Array.<number> The array to pack into.
返回值:
The array that was packed into

static Cesium.PlaneOutlineGeometry.unpack(array, startingIndex, result)PlaneOutlineGeometry

Retrieves an instance from a packed array.
参数名称 类型 默认值 描述信息
array Array.<number> The packed array.
startingIndex number 0 可选 The starting index of the element to be unpacked.
result PlaneOutlineGeometry 可选 The object into which to store the result.
返回值:
The modified result parameter or a new PlaneOutlineGeometry instance if one was not provided.