|
OptimizedPointMeshT(T, Vector3, InputLayoutType, BoundingBox, Int32, String) Constructor |
Constructor
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax public OptimizedPointMesh(
T[] vertexBufferArray,
Vector3[] positionsArray,
InputLayoutType inputLayoutType,
BoundingBox bounds = default,
int segmentsCount = 100,
string name = null
)
Parameters
- vertexBufferArray T
- array of T structs that define the vertex buffer
- positionsArray Vector3
- array of positions as Vector3 - if T is Position then this array can be the same as vertexBufferArray
- inputLayoutType InputLayoutType
- InputLayoutType
- bounds BoundingBox (Optional)
- BoundingBox of the positions - if Empty then it will be calculated in the constructor of this OptimizedPointMesh
- segmentsCount Int32 (Optional)
- number of segments that will be used to divide all the vertices
- name String (Optional)
- name (optional)
See Also