IMeshPainterPaintFromWorldRay(Ray, MeshPainterRayDesc, ActionVertexHitDesc) Method |
Paint a point where the local ray intersects the mesh.
Namespace: Demo3D.Visuals.MeshPainterAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxvoid PaintFromWorldRay(
Ray worldRay,
MeshPainterRayDesc rayDesc,
Action<VertexHitDesc> onHitAction
)
Parameters
- worldRay Ray
- The ray in local coordinates.
- rayDesc MeshPainterRayDesc
- The description of the ray.
- onHitAction ActionVertexHitDesc
- The call back when a vertex is hit
See Also