Click or drag to resize
Ab4d.SharpEngine logo

PositionsMesh Class

PositionsMesh class defines the mesh that is created only from positions and is usually used to render 3D lines.
Inheritance Hierarchy

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public class PositionsMesh : Mesh

The PositionsMesh type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyPositions Positions array that form 3D lines.
Top
Methods
 NameDescription
Public methodGetDataChannel GetDataChannel returns an object with the data from the specified channel. For example, for Positions an array of Vector3 is returned with positions defined by this mesh. Executing this method may take some time because the method may need to create new array objects and copy data from some other data structure (for example an array of PositionNormalTextureVertex values).
(Overrides MeshGetDataChannel(MeshDataChannelTypes))
Public methodGetDetailsText GetDetailsText method gets string with values of individual vertices and triangle indices of this mesh.
(Overrides MeshGetDetailsText(Boolean, Boolean, Boolean, Int32, Int32, Int32))
Protected methodOnInitializeSceneResources Initializes resources with the specified Scene and GpuDevice. This method can be override and is called from InitializeSceneResources(Scene) method.
(Overrides InitializedSceneComponentOnInitializeSceneResources(Scene, VulkanDevice))
Protected methodOnUpdateMesh OnUpdateMesh
(Overrides MeshOnUpdateMesh(Boolean))
Top
See Also