Click or drag to resize
Ab4d.SharpEngine logo

PositionNormalTextureVertexFillArray(PositionNormalTextureVertex, Vector3, Vector3, Vector2, BoundingBox) Method

FillArray fills the specified array of PositionNormalTextureVertex with the specified positions, normals (can ben null) and textureCoordinates (can be null). The method also sets the BoundingBox. The vertices array length must be at least the length of positions array.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public static void FillArray(
	PositionNormalTextureVertex[] vertices,
	Vector3[] positions,
	Vector3[]? normals,
	Vector2[]? textureCoordinates,
	out BoundingBox boundingBox
)

Parameters

vertices  PositionNormalTextureVertex
array of PositionNormalTextureVertex that will be filled with positions, normals) and textureCoordinates
positions  Vector3
positions as array of Vector3
normals  Vector3
normals as array of Vector2 (can be null - in this case (0,0,0) is set to all normals)
textureCoordinates  Vector2
textureCoordinates as array of Vector3 (can be null - in this case (0,0) is set to all textureCoordinates)
boundingBox  BoundingBox
set to calculated BoundingBox
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.PositionNormalTextureVertex.FillArray(Ab4d.SharpEngine.Common.PositionNormalTextureVertex[],System.Numerics.Vector3[],System.Numerics.Vector3[],System.Numerics.Vector2[],Ab4d.SharpEngine.Common.BoundingBox@)"]

See Also