Positions |
public class PositionsMesh : Mesh
The PositionsMesh type exposes the following members.
Name | Description | |
---|---|---|
PositionsMesh(Vector3, PrimitiveTopology, String) | Constructor | |
PositionsMesh(Vector3, PrimitiveTopology, BoundingBox, String) | Constructor |
Name | Description | |
---|---|---|
Positions | Array of Vector3 values that define this PositionsMesh. This can be an array of 3D line positions or pixel positions. |
Name | Description | |
---|---|---|
GetDataChannel |
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)) | |
GetDetailsText |
GetDetailsText method gets string with values of individual vertices and triangle indices of this mesh.
(Overrides MeshGetDetailsText(Boolean, Boolean, Boolean, Int32, Int32, Int32)) | |
OnInitializeSceneResources |
Initializes resources with the specified Scene and GpuDevice.
This method can be override and is called from InitializeSceneResources(Scene) method.
(Overrides InitializedSceneComponentOnInitializeSceneResources(Scene, VulkanDevice)) | |
OnUpdateMesh |
OnUpdateMesh
(Overrides MeshOnUpdateMesh(Boolean)) |