performance Reading a property, e.g., PointPrimitive#show, is constant time.
Assigning to a property is constant time but results in
CPU to GPU traffic when PointPrimitiveCollection is called. The per-pointPrimitive traffic is
the same regardless of how many properties were updated. If most pointPrimitives in a collection need to be
updated, it may be more efficient to clear the collection with PointPrimitiveCollection#removeAll
and add new pointPrimitives instead of modifying each one.
exception {DeveloperError} scaleByDistance.far must be greater than scaleByDistance.near
exception {DeveloperError} translucencyByDistance.far must be greater than translucencyByDistance.near
A graphical point positioned in the 3D scene, that is created and rendered using a PointPrimitiveCollection A point is created and its initial properties are set by calling PointPrimitiveCollection#add
alias PointPrimitive
performance Reading a property, e.g., PointPrimitive#show, is constant time. Assigning to a property is constant time but results in CPU to GPU traffic when PointPrimitiveCollection is called. The per-pointPrimitive traffic is the same regardless of how many properties were updated. If most pointPrimitives in a collection need to be updated, it may be more efficient to clear the collection with PointPrimitiveCollection#removeAll and add new pointPrimitives instead of modifying each one.
exception {DeveloperError} scaleByDistance.far must be greater than scaleByDistance.near exception {DeveloperError} translucencyByDistance.far must be greater than translucencyByDistance.near
PointPrimitiveCollection#add demo Sandcastle Points Demo
PointPrimitiveCollection