@JsType(isNative=true, namespace="Cesium", name="PointPrimitiveCollection") public class PointPrimitiveCollection extends Collection<PointPrimitive>
Modifier and Type | Field and Description |
---|---|
Number |
blendOption
The billboard blending option.
|
boolean |
debugShowBoundingVolume
This property is for debugging only; it is not for production use nor is it optimized.
|
Matrix4 |
modelMatrix
The 4x4 transformation matrix that transforms each polyline in this collection from model to world coordinates.
|
Constructor and Description |
---|
PointPrimitiveCollection()
A renderable collection of points.
|
PointPrimitiveCollection(PointPrimitiveCollectionOptions options)
A renderable collection of points.
|
Modifier and Type | Method and Description |
---|---|
PointPrimitive |
add(PointPrimitiveOptions options)
Creates and adds a point with the specified initial properties to the collection.
|
@JsProperty public Number blendOption
BlendOption.OPAQUE_AND_TRANSLUCENT()
@JsProperty public boolean debugShowBoundingVolume
@JsProperty public Matrix4 modelMatrix
Transforms.eastNorthUpToFixedFrame(org.cesiumjs.cs.core.Cartesian3)
.
Default: Matrix4.IDENTITY()
@JsConstructor public PointPrimitiveCollection()
add(org.cesiumjs.cs.scene.options.PointPrimitiveOptions)
and Collection.remove(T)
.
Performance:
For best performance, prefer a few collections, each with many points, to many collections with only a few points each.
Organize collections so that points with the same update frequency are in the same collection, i.e.,
points that do not change should be in one collection; points that change every frame should be in another collection; and so on.@JsConstructor public PointPrimitiveCollection(PointPrimitiveCollectionOptions options)
add(org.cesiumjs.cs.scene.options.PointPrimitiveOptions)
and Collection.remove(T)
.
Performance:
For best performance, prefer a few collections, each with many points, to many collections with only a few points each.
Organize collections so that points with the same update frequency are in the same collection, i.e.,
points that do not change should be in one collection; points that change every frame should be in another collection; and so on.options
- PointPrimitiveCollectionOptions
public PointPrimitive add(PointPrimitiveOptions options)
options
- PointPrimitiveOptions
Copyright © 2019. All rights reserved.