PointBatchPrimitiveFactory#
- class ansys.stk.core.graphics.PointBatchPrimitiveFactory#
Render one or more points in the 3D scene. Each point in the batch has a unique position and an optional color. All points in the batch share the same pixel size. For best performance, avoid creating lots of batches with only a few points eachβ¦
Overview#
Initialize a default point batch primitive. This is equivalent to constructing a point batch with a set hint of Frequent. |
|
Initialize a new instance of a point batch primitive with the specified set hint. |
Get the minimum pixel size supported by the video card. |
|
Get the maximum pixel size supported by the video card. |
Import detail#
from ansys.stk.core.graphics import PointBatchPrimitiveFactory
Property detail#
Method detail#
- PointBatchPrimitiveFactory.initialize(self) PointBatchPrimitive #
Initialize a default point batch primitive. This is equivalent to constructing a point batch with a set hint of Frequent.
- Returns:
PointBatchPrimitive
- PointBatchPrimitiveFactory.initialize_with_set_hint(self, set_hint: SetHint) PointBatchPrimitive #
Initialize a new instance of a point batch primitive with the specified set hint.
- Parameters:
set_hint :
SetHint
- Returns:
PointBatchPrimitive