IMeshPainterPaintAtPosition Method (Vector3, Vector3, MeshPainterRayDesc, FuncColor, Color) |
Paint a point at the meshes local position.
Namespace:
Demo3D.Visuals.MeshPainter
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxvoid PaintAtPosition(
Vector3 localPos,
Vector3 localNormal,
MeshPainterRayDesc rayDesc,
Func<Color, Color> onPaintAction
)
Parameters
- localPos
- Type: Microsoft.DirectXVector3
The local position to paint. - localNormal
- Type: Microsoft.DirectXVector3
The local normal at the local position. - rayDesc
- Type: MeshPainterRayDesc
The description of the ray. - onPaintAction
- Type: SystemFuncColor, Color
The action to execute when painting occurs. The return value of the action will be the color to paint
See Also