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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class PositionsMesh : Mesh

The PositionsMesh type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyPositions Array of Vector3 values that define this PositionsMesh. This can be an array of 3D line positions or pixel positions.
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