IMeshPainter2PaintFromWorldRay Method (Ray, SingleMeshPainter2RayDesc, ActionVertexHitDesc) |
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
Syntaxvoid PaintFromWorldRay(
Ray worldRay,
SingleMeshPainter2RayDesc rayDesc,
Action<VertexHitDesc> onHitAction
)
Parameters
- worldRay
- 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