Click or drag to resize

IMeshPainter2PaintFromLocalRay Method

Paint a point where the local ray intersects the mesh.

Namespace:  Demo3D.Visuals.MeshPainter
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 16.01.07
Syntax
C#
void PaintFromLocalRay(
	Ray localRay,
	SingleMeshPainter2RayDesc rayDesc,
	Action<VertexHitDesc> onHitAction
)

Parameters

localRay
Type: Demo3D.VisualsRay
The ray in local coordinates.
rayDesc
Type: SingleMeshPainter2RayDesc
The description of the ray.
onHitAction
Type: SystemActionVertexHitDesc
The call back when a vertex is hit
See Also