 |
PositionNormalTextureVertexCreateArray(Vector3, Vector3, Vector2, BoundingBox) Method |
CreateArray creates an array of PositionNormalTextureVertex from the specified positions, normals (can ben null) and textureCoordinates (can be null).
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic static PositionNormalTextureVertex[] CreateArray(
Vector3[] positions,
Vector3[]? normals,
Vector2[]? textureCoordinates,
out BoundingBox boundingBox
)
Parameters
- 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
Return Value
PositionNormalTextureVertexarray of PositionNormalTextureVertex
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.PositionNormalTextureVertex.CreateArray(System.Numerics.Vector3[],System.Numerics.Vector3[],System.Numerics.Vector2[],Ab4d.SharpEngine.Common.BoundingBox@)"]
See Also