Click or drag to resize
AB4D logo

OptimizedPointMeshT(T, Vector3, InputLayoutType, BoundingBox, Int32, String) Constructor

Constructor

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
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