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: 15.0.2.11458
Syntax
C#
public interface IMeshPainter

The IMeshPainter type exposes the following members.

Methods
  NameDescription
Public methodBeginPaint
Stop pixels being painted more than once until EndPaint has been called. Getting a pixel's color will also return the color of the pixel at the time that BeginPaint was called.
Public methodEndPaint
End the paint.
Public methodGetColorAtPosition
Get the color at the local position of the mesh.
Public methodGetColorAtWorldPosition
Get the color at the world position of the mesh.
Public methodGetColorAtWorldRay
Get the color at the point where the ray intersects the mesh.
Public methodPaintAtPosition(Vector3, Vector3, MeshPainterRayDesc, Color)
Paint a point at the meshes local position.
Public methodPaintAtPosition(Vector3, Vector3, MeshPainterRayDesc, FuncColor, Color)
Paint a point at the meshes local position.
Public methodPaintAtWorldPosition
Paint a point at the meshes world position.
Public methodPaintCircleFromWorldRay(Ray, MultiRayMeshPainterCircleDesc, Color)
Paint a circle using a series of rays. This will result in more accurate painting but will perform slower.
Public methodPaintCircleFromWorldRay(Ray, MultiRayMeshPainterCircleDesc, FuncColor, 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 methodPaintFromWorldRay(Ray, MeshPainterRayDesc, Color)
Paint a point where the world ray intersects the mesh.
Public methodPaintFromWorldRay(Ray, MeshPainterRayDesc, FuncColor, Color)
Paint a point where the world ray intersects the mesh.
Top
See Also