SurfacePaintManipulator_PointCollection (struct)

バージョン 1.12.0 で追加.

A collection of points gathered during a single event. The collected points are then passed to the onPaint method implemented in the sepcliazed PaintManipulator.

SurfacePaintManipulator_PointCollection SurfacePaintManipulator_PointCollection SurfacePaintManipulator_PointCollection

Members

PolygonMesh mesh the mesh being painted.
Ray ray The ray generated from the mouse event.
Integer[] pointIds point ids of the points inside the paint brush during this update.
Scalar[] distances the distances of the points from the center of the brush.
Scalar[] weights weights computed based on a cosine falloff of the points, multiplied by the brush strength.