IMeshPainter Interface |
Namespace: Demo3D.Visuals.MeshPainter
public interface IMeshPainter
The IMeshPainter type exposes the following members.
| Name | Description | |
|---|---|---|
| FaceCount |
The number of faces in the paintable mesh.
| |
| VertexCount |
The number of vertices in the paintable mesh.
|
| Name | Description | |
|---|---|---|
| ApplyPaint |
Apply any painted vertices to the mesh
| |
| GetColorAtLocalRay |
Get the color at the point where the ray intersects the mesh.
| |
| GetColorAtVertex |
Paint a vertex.
| |
| GetColorAtWorldRay |
Get the color at the point where the ray intersects the mesh.
| |
| PaintCircleFromWorldRay(Ray, MeshPainterCircleMultiRayDesc, ActionVertexHitDesc) |
Paint a circle using a series of rays. This will result in more accurate painting but will perform slower.
| |
| PaintCircleFromWorldRay(Ray, MeshPainterCircleMultiRayDesc, Color) |
Paint a circle using a series of rays. This will result in more accurate painting but will perform slower.
| |
| PaintFromLocalRay |
Paint a point where the local ray intersects the mesh.
| |
| PaintFromLocalRays |
Paint a point where the local ray intersects the mesh.
| |
| PaintFromWorldRay(Ray, MeshPainterRayDesc, ActionVertexHitDesc) |
Paint a point where the local ray intersects the mesh.
| |
| PaintFromWorldRay(Ray, MeshPainterRayDesc, Color) |
Paint a point where the world ray intersects the mesh.
| |
| PaintFromWorldRays |
Paint a point where the local ray intersects the mesh.
| |
| PaintVertex |
Paint a vertex.
|
| Name | Description | |
|---|---|---|
| OnMeshCreated |
Event raised when the mesh is created.
|