Click or drag to resize

IMeshPainterPaintAtPosition Method (Vector3, Vector3, MeshPainterRayDesc, 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
Syntax
C#
void PaintAtPosition(
	Vector3 localPos,
	Vector3 localNormal,
	MeshPainterRayDesc rayDesc,
	Color color
)

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.
color
Type: System.DrawingColor
The color to paint.
See Also