Appearance
KBE3D / KBCore / Cesium / PlaneOutlineGeometry
类: PlaneOutlineGeometry
Describes geometry representing the outline of a plane centered at the origin, with a unit width and length.
属性
packedLength
staticpackedLength:number
The number of elements used to pack the object into an array.
方法
pack()
staticpack(value:PlaneOutlineGeometry,array:number[]):number[]
Stores the provided instance into the provided array.
参数
value
PlaneOutlineGeometry
The value to pack.
array
number[]
The array to pack into.
返回
number[]
The array that was packed into
unpack()
staticunpack(array:number[],startingIndex?:number,result?:PlaneOutlineGeometry):PlaneOutlineGeometry
Retrieves an instance from a packed array.
参数
array
number[]
The packed array.
startingIndex?
number
The starting index of the element to be unpacked.
result?
PlaneOutlineGeometry
The object into which to store the result.
返回
PlaneOutlineGeometry
The modified result parameter or a new PlaneOutlineGeometry instance if one was not provided.
createGeometry()
staticcreateGeometry():Geometry|undefined
Computes the geometric representation of an outline of a plane, including its vertices, indices, and a bounding sphere.
返回
Geometry | undefined
The computed vertices and indices.
构造函数
构造函数
new PlaneOutlineGeometry():
PlaneOutlineGeometry
返回
PlaneOutlineGeometry
