Click or drag to resize

IMeshPainter Interface

Interface for painting colors directly on a Mesh.

Namespace:  Demo3D.Visuals.MeshPainter
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.04.00
Syntax
C#
public interface IMeshPainter

The IMeshPainter type exposes the following members.

Properties
  NameDescription
Public propertyFaceCount
The number of faces in the paintable mesh.
Public propertyVertexCount
The number of vertices in the paintable mesh.
Top
Methods
  NameDescription
Public methodApplyPaint
Apply any painted vertices to the mesh
Public methodGetColorAtLocalRay
Get the color at the point where the ray intersects the mesh.
Public methodGetColorAtVertex
Paint a vertex.
Public methodGetColorAtWorldRay
Get the color at the point where the ray intersects the mesh.
Public methodPaintCircleFromWorldRay(Ray, MeshPainterCircleMultiRayDesc, ActionVertexHitDesc)
Paint a circle using a series of rays. This will result in more accurate painting but will perform slower.
Public methodPaintCircleFromWorldRay(Ray, MeshPainterCircleMultiRayDesc, Color)
Paint a circle using a series of rays. This will result in more accurate painting but will perform slower.
Public methodPaintFromLocalRay
Paint a point where the local ray intersects the mesh.
Public methodPaintFromLocalRays
Paint a point where the local ray intersects the mesh.
Public methodPaintFromWorldRay(Ray, MeshPainterRayDesc, ActionVertexHitDesc)
Paint a point where the local ray intersects the mesh.
Public methodPaintFromWorldRay(Ray, MeshPainterRayDesc, Color)
Paint a point where the world ray intersects the mesh.
Public methodPaintFromWorldRays
Paint a point where the local ray intersects the mesh.
Public methodPaintVertex
Paint a vertex.
Top
Events
  NameDescription
Public eventOnMeshCreated
Event raised when the mesh is created.
Top
See Also