MeshModel Methods |
The MeshModel type exposes the following members.
| Name | Description | |
|---|---|---|
| Create(PointFloat3D, Int32) |
Create a mesh model from positions and optionally colors.
| |
| Create(PointFloat3D, Int32, PointFloat3D, Int32) |
Create a mesh model from positions, colors, normals and optional indices.
| |
| Create(PointFloat3D, PointFloat, Image, TextureWrapMode, Int32) |
Create a mesh model from positions, texture coordinates, bitmap and optional indices.
| |
| Create(PointFloat3D, PointFloat3D, PointFloat, Image, TextureWrapMode, Int32) |
Create a mesh model from positions, normals, texture coordinates, bitmap and optional indices.
| |
| CreateFromTriangles(PointFloat3D, Color, PointFloat3D) |
Create a mesh model from positions and colors. Positions must be triplets of triangle points and each color in input is color of each triangle.
| |
| CreateFromTriangles(PointFloat3D, Int32, PointFloat3D) |
Create a mesh model from positions and colors. Positions must be triplets of triangle points and each color in input is color of each triangle.
| |
| Dispose |
Release all resources used by this instance.
(Inherited from ChartNode.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsHighlighted |
returns true if the object is highlighted.
(Inherited from HighlightingItemBase.) | |
| IsPositionOver |
Is position over item.
(Overrides UserInteractiveObjectIsPositionOver(Int32, Int32, Boolean).) | |
| LoadFromFile |
Load from obj format file (.obj).
| |
| LoadFromResource |
Load from obj format resource.
| |
| LoadFromStream |
Load from obj file stream (.obj).
| |
| RemoveHighlight |
Removes forced highlighting.
(Inherited from HighlightingItemBase.) | |
| SetHighlight |
Highlights the object.
(Inherited from HighlightingItemBase.)This is a kind of "forced" highlight, and the object might be highlighted even if the highlighting type (defined by Highlight property) is set to None. How the highlighting happens, if any, depends on object. Most objects use the defined type by default, and fall back to Simple highlighting if None is set. | |
| SetProperCursor |
Set proper drag cursor. Default is hand.
(Inherited from UserInteractiveObject.) | |
| ToString |
Convert class description to string
(Overrides HighlightingItemBaseToString.) | |
| UpdateFillBitmap |
Update mesh bitmap, without reconstructing the geometry.
| |
| UpdateFillColors |
Update mesh colors. The color order must be identical with GeometryConstructed event vertex array.
| |
| UpdateWireframeColors |
Update mesh wireframe colors. The color order must be identical with GeometryConstructed event vertex array.
|