Click or drag to resize

MeshModel Class

LightningChart .NET Help
Mesh model.
Inheritance Hierarchy

Namespace:  Arction.WinForms.Charting.Views.View3D
Assembly:  Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntax
[SerializableAttribute]
[TypeConverterAttribute(typeof(GeneralTypeConverter))]
public class MeshModel : HighlightingItemBase

The MeshModel type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAllowUserInteraction
Gets or sets whether allow user interaction.
(Inherited from UserInteractiveObject.)
Public propertyCull
Face culling determines which faces are not rendered based on their winding order. If model show wrong faces, culling may be an issue.
Public propertyFill
Render as filled.
Public propertyHighlight
Gets or sets highlight style. Item can be highlighted by user interactive device or by code.
(Inherited from HighlightingItemBase.)
Public propertyModelFileName
Model file name.
Public propertyPosition
Position (offset) in axis values.
Public propertyRenderingOrder
Sets MeshModel's rendering order in relation to other series.
Public propertyRotation
Rotating angles, in degrees
Public propertyShadeMode
MeshModel shading mode.
Public propertySize
Scaling factor.
Public propertyTrackTriangle
Enable sending events of model face tracking.
Public propertyWireframe
Render as wireframe.
Public propertyWireframeLineColor
Wireframe color.
Public propertyVisible
Visible.
Public propertyXAxisBinding
X axis binding
Public propertyYAxisBinding
Y axis binding
Public propertyZAxisBinding
Z axis binding
Top
Methods
  NameDescription
Public methodCreate(PointFloat3D, Int32)
Create a mesh model from positions and optionally colors.
Public methodCreate(PointFloat3D, Int32, PointFloat3D, Int32)
Create a mesh model from positions, colors, normals and optional indices.
Public methodCreate(PointFloat3D, PointFloat, Image, TextureWrapMode, Int32)
Create a mesh model from positions, texture coordinates, bitmap and optional indices.
Public methodCreate(PointFloat3D, PointFloat3D, PointFloat, Image, TextureWrapMode, Int32)
Create a mesh model from positions, normals, texture coordinates, bitmap and optional indices.
Public methodCreateFromTriangles(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.
Public methodCreateFromTriangles(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.
Public methodDispose
Release all resources used by this instance.
(Inherited from ChartNode.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsHighlighted
returns true if the object is highlighted.
(Inherited from HighlightingItemBase.)
Public methodIsPositionOver
Is position over item.
(Overrides UserInteractiveObjectIsPositionOver(Int32, Int32, Boolean).)
Public methodLoadFromFile
Load from obj format file (.obj).
Public methodLoadFromResource
Load from obj format resource.
Public methodLoadFromStream
Load from obj file stream (.obj).
Public methodRemoveHighlight
Removes forced highlighting.
(Inherited from HighlightingItemBase.)
Public methodSetHighlight
Highlights the object.

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.

(Inherited from HighlightingItemBase.)
Public methodSetProperCursor
Set proper drag cursor. Default is hand.
(Inherited from UserInteractiveObject.)
Public methodToString
Convert class description to string
(Overrides HighlightingItemBaseToString.)
Public methodUpdateFillBitmap
Update mesh bitmap, without reconstructing the geometry.
Public methodUpdateFillColors
Update mesh colors. The color order must be identical with GeometryConstructed event vertex array.
Public methodUpdateWireframeColors
Update mesh wireframe colors. The color order must be identical with GeometryConstructed event vertex array.
Top
Events
  NameDescription
Public eventGeometryConstructed
Geometry has been constructed.
Public eventHighlightedStateChanged
Event telling that highlighted state has changed. Contains information of the new state.
(Inherited from HighlightingItemBase.)
Public eventMouseClick
Mouse button has been clicked.
(Inherited from UserInteractiveObject.)
Public eventMouseDoubleClick
Mouse button has been doubleclicked.
(Inherited from UserInteractiveObject.)
Public eventMouseDown
Mouse button has been pressed down.
(Inherited from UserInteractiveObject.)
Public eventMouseOverOff
Mouse has been moved outside of object.
(Inherited from UserInteractiveObject.)
Public eventMouseOverOn
Mouse has been moved over object.
(Inherited from UserInteractiveObject.)
Public eventMouseUp
Mouse button has been released.
(Inherited from UserInteractiveObject.)
Public eventTriangleTraced
User has traced a triangle of mesh with user interactive device.
Top
Fields
  NameDescription
Public fieldTag
Tag. Freely assignable object.
(Inherited from UserInteractiveObjectInt.)
Top
See Also