SurfaceSculptManipulator.kl¶
Types¶
SurfaceSculptManipulator (object)¶
バージョン 1.12.0 で追加.
The SurfaceSculptManipulator is based on the SurfacePaintManipulator to provide a sculpt based painting example. The SurfaceSculptManipulator modifies the vertex positions on a mesh, pushing or pulling them in the direction of the paint brush ray.
Usage¶
- Click and drag with the Left mouse button to push the surface vertices
- Click and drag with the Right mouse button to pull the surface vertices
- Click and drag with the Middle mouse button to smooth surface vertices
- The mouse wheel can be used to resize the paint brush, except on platforms that do not support the mouse wheel.
- The ‘Ctrl’ modifier key can be held during a mouse drag to resize the brush on these platforms.
Members¶
| InlineInstance[] | targetGeometries | |
| SurfacePaintManipulator_StrokePoint[] | strokePath | The stroke points making up the current paint stroke. |
| SurfacePaintManipulator_State | state | |
| Scalar | brushSize | |
| Scalar | brushStrength | |
| Scalar | brushScaleSpeed | |
| Scalar | mouseDownBrushSize | |
| Vec2 | mouseDownScreenPos | |
| InlineMaterial | paintBrushMaterial | |
| InlineInstance | paintBrush | |
| String | portToDrive | |
| String | hostName | |
| String | graphName | |
| UInt32 | evalID | |
| Scalar | sculptStrength | |
| Boolean | recomputePointNormals | |
| Integer | paintMode | |
| SurfaceSculptCommand | command | |
| EvalContext | evalContext |
Methods¶
| SurfaceSculptManipulator ( in EvalContext evalContext ) | |
| SurfaceSculptManipulator ( in SurfaceSculptManipulator other ) | |
| SurfaceSculptManipulator () | |
| SurfaceSculptManipulator | clone ? () |
| onPaint ! ( io MouseEvent mouseEvent, in SurfacePaintManipulator_PointCollection collectedPoints ) | |
| onStrokeBegin ! ( io MouseEvent mouseEvent ) | |
| onStrokeEnd ! ( io MouseEvent mouseEvent ) | |
| setSculptStrength ! ( in Scalar sculptStrength ) |