Click or drag to resize

IMeshPainterPaintFromLocalRays Method

Paint a point where the local ray intersects the mesh.

Namespace:  Demo3D.Visuals.MeshPainter
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.04.00
Syntax
C#
void PaintFromLocalRays(
	Ray[] localRays,
	MeshPainterRayDesc rayDesc,
	Action<VertexHitDesc> onIntersectAction
)

Parameters

localRays
Type: Demo3D.VisualsRay
The rays in local coordinates.
rayDesc
Type: Demo3D.Visuals.MeshPainterMeshPainterRayDesc
The description of the ray.
onIntersectAction
Type: SystemActionVertexHitDesc
The call back when a vertex is intersected.
See Also